info-sather
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re : Warning while compiling Sather code


From: address@hidden
Subject: Re : Warning while compiling Sather code
Date: Thu, 1 Mar 2012 07:03:46 +0000 (GMT)

Juste a small precision:

I assumed the person who added /* these two are hacks esc*/" did that on purpose.

FYI, I haven't found any mention of "isnormal" in the sather code...

Bye,
Fadi.

De : "address@hidden" <address@hidden>
À : Duke Normandin <address@hidden>; Sather List <address@hidden>
Envoyé le : Jeudi 1 mars 2012 7h35
Objet : Re : Warning while compiling Sather code

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 <address@hidden>
À : Sather List <address@hidden>
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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]