opensubscriber
   Find in this group all groups
 
Unknown more information…

i : info-sather@gnu.org 1 March 2012 • 2:35PM -0500

Re : Warning while compiling Sather code
by fospot-gnu@yahoo.com

REPLY TO AUTHOR
 
REPLY TO GROUP




Hello,

I wouldn't really worry about that if I were you...
It's "just" a "warning"... (actually, it is a "C" thing).

If it is really bothering you, just add the following 3 lines just before "#define isnormal(f) ((int)1)  /* these two are hacks esc*/"

in sather's "System/Common/runtime.h file":

...

#ifdef isnormal

#undef isnormal
#endif

#define isnormal(f) ((int)1)  /* these two are hacks esc*/


...


You'll be basically telling the compiler to ignore the previous definition of "isnormal" (which is found in "/usr/include/math.h").

Regards,
Fadi.




>________________________________
> De : Duke Normandin <dukeofperl@lava...>
>À : Sather List <info-sather@gnu....>
>Envoyé le : Mercredi 29 février 2012 1h03
>Objet : Warning while compiling Sather code
>
>Hi ...
>
>Although the Sather "learning' code is compiling and producing a
>working executable, some of the code is producing this warning:
>
>/home/dnormandin/Programming/Sather/sather-1.2.3/System/Platforms/linux/../../Co
>mmon/runtime.h:179:0: warning: "isnormal" redefined [enabled by
>default] /usr/include/math.h:253:0: note: this is the location of
>the previous definition
>
>Is there a way that I can fix this? TIA ...
>
>--
>Duke
>Alberta, Canada
>
>
>
>
>

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.