🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #839

Re: What is a constant expression

#839
From: Wm E Davidsen Jr
Date: Tue, 24 Oct 1989 19:01
18 lines
1431 bytes
In article <727@lakart.UUCP>, dg@lakart.UUCP (David Goodenough) writes:

|  MAJOR MAJOR PROBLEM - our C compiler (greenhills) likes the useages of
|  postquote and prequote in that order. Some compilers may not care, while
|  others might want them reversed. I think it depends on whether nested
|  macros are expanded from the inside out (as Greenhills does), or outside
|  in.

  I appreciate the suggestion, but, as you say, it's not portable. Worse
than that, it doesn't work on either of the ANSI-filed compilers I
tried. Because of the way the macro is called I can't trust any editor
to change the code without breaking it, so I did the globals by hand.
The true solution would be a character analogy of #arg.
-- 
bill davidsen	(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
"The world is filled with fools. They blindly follow their so-called
'reason' in the face of the church and common sense. Any fool can see
that the world is flat!" - anon
Technical Details
Message-ID: <1428@crdos1.crd.ge.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!crdgw1!crdos1!davidsen
References: <1219@crdos1.crd.ge.COM> <727@lakart.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!crdgw1!crdos1!davidsen
From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr)
Newsgroups: comp.std.c
Subject: Re: What is a constant expression
Message-ID: <1428@crdos1.crd.ge.COM>
Date: 24 Oct 89 19:01:17 GMT
References: <1219@crdos1.crd.ge.COM> <727@lakart.UUCP>
Reply-To: davidsen@crdos1.UUCP (bill davidsen)
Organization: GE Corp R&D Center
Lines: 18