| Newsgroups |
gmane.comp.lang.sather.announce |
| Message-ID |
<[email protected]> |
--350351029-1756098548-1330585426=:13918
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Juste a small precision: =0A=0A=0AI assumed the person who added /* these t=
wo are hacks esc*/" did that on purpose.=0A=0A=0AFYI, I haven't found any m=
ention of "isnormal" in the sather code...=0A=0ABye,=0AFadi.=0A=0A=0A>_____=
___________________________=0A> De=A0: "[email protected]" <fospot-gnu@y=
ahoo.com>=0A>=C0=A0: Duke Normandin <[email protected]>; Sather List <=
[email protected]> =0A>Envoy=E9 le : Jeudi 1 mars 2012 7h35=0A>Objet=A0: =
Re : Warning while compiling Sather code=0A> =0A>=0A>Hello,=0A>=0A>=0A>I wo=
uldn't really worry about that if I were you...=0A>It's "just" a "warning".=
.. (actually, it is a "C" thing).=0A>=0A>=0A>If it is really bothering you,=
just add the following 3 lines just before "#define isnormal(f) ((int)1)=
=A0 /* these two are hacks esc*/"=0A>=0A>in sather's "System/Common/runtime=
.h file":=0A>=0A>=0A>...=0A>=0A>=0A>#ifdef isnormal=0A>=0A>#undef isnormal=
=0A>#endif=0A>=0A>=0A>#define isnormal(f) ((int)1)=A0 /* these two are hack=
s esc*/=0A>=0A>=0A>=0A>...=0A>=0A>=0A>=0A>You'll be basically telling the c=
ompiler to ignore the previous definition of "isnormal" (which is found in =
"/usr/include/math.h").=0A>=0A>=0A>Regards,=0A>Fadi.=0A>=0A>=0A>=0A>=0A>>__=
______________________________=0A>> De=A0: Duke Normandin <dukeofperl@lavab=
it.com>=0A>>=C0=A0: Sather List <[email protected]> =0A>>Envoy=E9 le : Me=
rcredi 29 f=E9vrier 2012 1h03=0A>>Objet=A0: Warning while compiling Sather =
code=0A>> =0A>>Hi=0A ...=0A>>=0A>>Although the Sather "learning' code is co=
mpiling and producing a=0A>>working executable, some of the code is produci=
ng this warning:=0A>>=0A>>/home/dnormandin/Programming/Sather/sather-1.2.3/=
System/Platforms/linux/../../Co=0A>>mmon/runtime.h:179:0: warning: "isnorma=
l" redefined [enabled by=0A>>default] /usr/include/math.h:253:0: note: this=
is the location of=0A>>the previous definition=0A>>=0A>>Is there a way tha=
t I can fix this? TIA ...=0A>>=0A>>-- =0A>>Duke=0A>>Alberta, Canada=0A>>=0A=
>>=0A>>=0A>>=0A>>=0A>=0A>
--350351029-1756098548-1330585426=:13918
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>Juste a small precision: <b=
r></div><div><br></div><div>I assumed the person who added <span>/* these t=
wo are hacks esc*/" did that on purpose.<br></span></div><div><br></div><di=
v>FYI, I haven't found any mention of "isnormal" in the sather code...</div=
><div><br></div><div>Bye,</div><div>Fadi.<br><blockquote style=3D"border-le=
ft: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-=
left: 5px;"> <div style=3D"font-family: arial,helvetica,sans-serif; font-s=
ize: 12pt;"> <div style=3D"font-family: times new roman,new york,times,seri=
f; font-size: 12pt;"> <div dir=3D"ltr"> <font face=3D"Arial" size=3D"2"> <h=
r size=3D"1"> <b><span style=3D"font-weight: bold;">De :</span></b> "=
[email protected]" <[email protected]><br> <b><span style=3D"fo=
nt-weight: bold;">=C0 :</span></b> Duke Normandin <dukeofperl@lavab=
it.com>;
Sather List <[email protected]> <br> <b><span style=3D"font-weight=
: bold;">Envoy=E9 le :</span></b> Jeudi 1 mars 2012 7h35<br> <b><span style=
=3D"font-weight: bold;">Objet :</span></b> Re : Warning while compilin=
g Sather code<br> </font> </div> <br><meta http-equiv=3D"x-dns-prefetch-con=
trol" content=3D"off"><div id=3D"yiv1704172079"><div><div style=3D"color: r=
gb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial,helve=
tica,sans-serif; font-size: 12pt;"><div><span>Hello,</span></div><div><br><=
span></span></div><div><span>I wouldn't really worry about that if I were y=
ou...</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 it is rea=
lly bothering you, just add the following 3 lines just before "#define isno=
rmal(f) ((int)1) /* these two are hacks esc*/"<br></span></div><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>#undef isnormal<br>#endif</span></div><div><span></s=
pan><span><br></span></div><div><span>#define isnormal(f) ((int)1) /*=
these two are hacks esc*/</span><br><span></span></div><div><br><span></sp=
an></div><div>...<br><span></span></div><div><span><br></span></div><div><s=
pan>You'll be=0A basically telling the compiler to ignore the previous defi=
nition of "isnormal" (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; padding-left: 5px;"> <div style=3D"font-family: arial,helvetica=
,sans-serif; font-size: 12pt;"> <div style=3D"font-family: times new roman,=
new york,times,serif; font-size: 12pt;"> <div dir=3D"ltr"> <font face=3D"Ar=
ial" size=3D"2"> <hr size=3D"1"> <b><span style=3D"font-weight: bold;">De&=
nbsp;:</span></b> Duke Normandin <[email protected]><br> <b><spa=
n style=3D"font-weight: bold;">=C0 :</span></b> Sather List <info-s=
[email protected]> <br> <b><span style=3D"font-weight: bold;">Envoy=E9 le :<=
/span></b> Mercredi 29 f=E9vrier 2012 1h03<br> <b><span style=3D"font-weigh=
t: bold;">Objet :</span></b> Warning while compiling Sather code<br> <=
/font> </div> <br>Hi=0A ...<br><br>Although the Sather "learning' code is c=
ompiling and producing a<br>working executable, some of the code is produci=
ng this warning:<br><br> /home/dnormandin/Programming/Sather/sather-1.2.3/S=
ystem/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 ca=
n fix this? TIA ...<br><br>-- <br>Duke<br>Alberta, Canada<br><br><br><br><b=
r> </div> </div> </blockquote></div> </div></div></div><meta http-equiv=
=3D"x-dns-prefetch-control" content=3D"on"><br><br> </div> </div> </blockqu=
ote></div> </div></body></html>
--350351029-1756098548-1330585426=:13918--