| delorie.com/archives/browse.cgi | search |
| X-Apparently-From: | <robertallsworth AT yahoo DOT co DOT uk> |
| Message-ID: | <004601c142e7$6f0a2920$323647a1@robert> |
| From: | "Robert Allsworth" <robertallsworth AT yahoo DOT co DOT uk> |
| To: | <djgpp AT delorie DOT com> |
| Subject: | Possible bug |
| Date: | Fri, 21 Sep 2001 22:50:20 +0100 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.50.4807.1700 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
| Reply-To: | djgpp AT delorie DOT com |
This is a multi-part message in MIME format.
------=_NextPart_000_0043_01C142EF.CA39FF20
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
I'm experiencing a strange feature with the gcc version 2.953
If would appear to be generating a compile error when using a logical =
OR.
sample code is:
if (( fred <=3D 0 ) || ( bill >=3D300))
printf("hello\n");
gives
Error: parse error before character 0335
Any suggestions ?
I can't believe this is a real error but I'm running out of options
------=_NextPart_000_0043_01C142EF.CA39FF20
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm experiencing a strange feature with =
the gcc=20
version 2.953</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If would appear to be generating a =
compile error=20
when using a logical OR.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>sample code is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>if (( fred <=3D 0 ) || ( bill=20
>=3D300))</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
printf("hello\n");</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>gives</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Error: parse error before character=20
0335</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any suggestions ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I can't believe this is a real error =
but I'm=20
running out of options</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0043_01C142EF.CA39FF20--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |