| Newsgroups |
gmane.comp.lang.sather.announce |
| Message-ID |
<[email protected]> |
---786998131-1662010274-1330583725=:65093
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,=0A=0AI wouldn't really worry about that if I were you...=0AIt's "jus=
t" a "warning"... (actually, it is a "C" thing).=0A=0AIf it is really bothe=
ring you, just add the following 3 lines just before "#define isnormal(f) (=
(int)1)=A0 /* these two are hacks esc*/"=0A=0Ain sather's "System/Common/ru=
ntime.h file":=0A=0A...=0A=0A#ifdef isnormal=0A=0A#undef isnormal=0A#endif=
=0A=0A#define isnormal(f) ((int)1)=A0 /* these two are hacks esc*/=0A=0A=0A=
...=0A=0A=0AYou'll be basically telling the compiler to ignore the previous=
definition of "isnormal" (which is found in "/usr/include/math.h").=0A=0AR=
egards,=0AFadi.=0A=0A=0A=0A=0A>________________________________=0A> De=A0: =
Duke Normandin <[email protected]>=0A>=C0=A0: Sather List <info-sather=
@gnu.org> =0A>Envoy=E9 le : Mercredi 29 f=E9vrier 2012 1h03=0A>Objet=A0: Wa=
rning while compiling Sather code=0A> =0A>Hi ...=0A>=0A>Although the Sather=
"learning' code is compiling and producing a=0A>working executable, some o=
f the code is producing this warning:=0A>=0A>/home/dnormandin/Programming/S=
ather/sather-1.2.3/System/Platforms/linux/../../Co=0A>mmon/runtime.h:179:0:=
warning: "isnormal" redefined [enabled by=0A>default] /usr/include/math.h:=
253:0: note: this is the location of=0A>the previous definition=0A>=0A>Is t=
here a way that I can fix this? TIA ...=0A>=0A>-- =0A>Duke=0A>Alberta, Cana=
da=0A>=0A>=0A>=0A>=0A>
---786998131-1662010274-1330583725=:65093
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"color:#000; background-color:#fff; font-family:ar=
ial, helvetica, sans-serif;font-size:12pt"><div><span>Hello,</span></div><d=
iv><br><span></span></div><div><span>I wouldn't really worry about that if =
I were you...</span></div><div><span>It's "just" a "warning"... (actually, =
it is a "C" thing).</span></div><div><br><span></span></div><div><span>If i=
t is really bothering you, just add the following 3 lines just before "#def=
ine isnormal(f) ((int)1) /* these two are hacks esc*/"<br></span></di=
v><div><span>in sather's "System/Common/runtime.h file":</span></div><div><=
br></div><div>...<br></div><div><br></div>#ifdef isnormal<br><div><span>#un=
def isnormal<br>#endif</span></div><div><span></span><span><br></span></div=
><div><span>#define isnormal(f) ((int)1) /* these two are hacks esc*/=
</span><br><span></span></div><div><br><span></span></div><div>...<br><span=
></span></div><div><span><br></span></div><div><span>You'll be
basically telling the compiler to ignore the previous definition of "isnor=
mal" (which is found in </span>"/usr/include/math.h").</div><div><br></div>=
<div>Regards,</div><div>Fadi.<br></div><div><br><blockquote style=3D"border=
-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; paddi=
ng-left: 5px;"> <div style=3D"font-family: arial,helvetica,sans-serif; fon=
t-size: 12pt;"> <div style=3D"font-family: times new roman,new york,times,s=
erif; font-size: 12pt;"> <div dir=3D"ltr"> <font face=3D"Arial" size=3D"2">=
<hr size=3D"1"> <b><span style=3D"font-weight: bold;">De :</span></b=
> Duke Normandin <[email protected]><br> <b><span style=3D"font-=
weight: bold;">=C0 :</span></b> Sather List <[email protected]>=
; <br> <b><span style=3D"font-weight: bold;">Envoy=E9 le :</span></b> Mercr=
edi 29 f=E9vrier 2012 1h03<br> <b><span style=3D"font-weight: bold;">Objet&=
nbsp;:</span></b> Warning while compiling Sather code<br> </font> </div> <b=
r>Hi
...<br><br>Although the Sather "learning' code is compiling and producing =
a<br>working executable, some of the code is producing this warning:<br><br=
> /home/dnormandin/Programming/Sather/sather-1.2.3/System/Platforms/linux/.=
./../Co<br>mmon/runtime.h:179:0: warning: "isnormal" redefined [enabled by<=
br>default] /usr/include/math.h:253:0: note: this is the location of<br>the=
previous definition<br><br>Is there a way that I can fix this? TIA ...<br>=
<br>-- <br>Duke<br>Alberta, Canada<br><br><br><br><br> </div> </div> </bloc=
kquote></div> </div></body></html>
---786998131-1662010274-1330583725=:65093--