delorie.com/archives/browse.cgi | search |
Message-ID: | <3BAC35FC.E83FAB9E@earthlink.net> |
From: | Martin Ambuhl <mambuhl AT earthlink DOT net> |
Organization: | Nocturnal Aviation |
X-Mailer: | Mozilla 4.77 [en] (Win95; U) |
X-Accept-Language: | en,zh-CN,fr,de-CH,ru |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Possible bug |
References: | <004601c142e7$6f0a2920$323647a1 AT robert> |
Lines: | 27 |
Date: | Sat, 22 Sep 2001 06:54:07 GMT |
NNTP-Posting-Host: | 209.246.90.174 |
X-Complaints-To: | abuse AT earthlink DOT net |
X-Trace: | newsread2.prod.itd.earthlink.net 1001141647 209.246.90.174 (Fri, 21 Sep 2001 23:54:07 PDT) |
NNTP-Posting-Date: | Fri, 21 Sep 2001 23:54:07 PDT |
X-Received-Date: | Fri, 21 Sep 2001 23:50:45 PDT (newsmaster1.prod.itd.earthlink.net) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> Robert Allsworth wrote: > > 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 <= 0 ) || ( bill >=300)) > 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 > > The bug is in your typing. The code you posted, when surrounded by code to make a program does not produce any such error. That is because you posted, correctly, the two characters "||" while the error message indicates that you have been inserting a non-ASCII IBM-specific "fat vertical", M-].
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |