Article View: comp.sys.atari.st
Article #31563Re: Laser C bug
From: David M. Baggett
Date: Mon, 28 Mar 1988 23:13
Date: Mon, 28 Mar 1988 23:13
14 lines
733 bytes
733 bytes
The C compiler we are running on our Sun (which I assume is the standard
BSD C compiler) has no complaint about:
#define foo 1 && 0
#if 1 || 0
for(;;);
#endif
From what I've heard here, Laser C doesn't like || and && in constant
expressions. I have to agree with Moshe Braner -- this is a bug, not
a feature.
Dave Baggett
arpa: dmb@tis.com
Technical Details
Message-ID:
<8803282313.AA06558@TIS.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!pasteur!ucbvax!TIS.COM!dmbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!pasteur!ucbvax!TIS.COM!dmb From: dmb@TIS.COM (David M. Baggett) Newsgroups: comp.sys.atari.st Subject: Re: Laser C bug Message-ID: <8803282313.AA06558@TIS.COM> Date: 28 Mar 88 23:13:26 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 14