🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2069

Re: gcc vs. convoluted macros

#2069
From: Casey Leedom
Date: Thu, 22 Dec 1988 04:55
14 lines
1104 bytes
| From: tsunami!valley!poseur!earle@SUN.COM (Greg Earle)
| 
| Can someone tell me if this is a gcc bug (gcc CPP, actually), or are the X
| people's assumptions about string concatenation macros under dpANS C
| incorrect (i.e., their 2 macro definitions are incorrect, when used with
| __STDC__ set)??

  You should be following comp.windows.x (yes, I know, almost impossible
given its volume).  In any case, I've already posted a fix to X.V11R3 for
this problem.  The ANSI C side of the ``#ifdef __STDC__'' just wasn't
correct.  Just copy the code from the K&R side of the ifdef and replace
occurrences of "/**/" with "##".

Casey
Technical Details
Message-ID: <14859@lll-winken.llnl.gov>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!gauss.llnl.gov!casey
References: <8812211323.AA02520@poseur.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!gauss.llnl.gov!casey
From: casey@gauss.llnl.gov (Casey Leedom)
Newsgroups: gnu.gcc.bug
Subject: Re: gcc vs. convoluted macros
Message-ID: <14859@lll-winken.llnl.gov>
Date: 22 Dec 88 04:55:22 GMT
References: <8812211323.AA02520@poseur.Sun.COM>
Sender: usenet@lll-winken.llnl.gov
Reply-To: casey@gauss.llnl.gov.UUCP (Casey Leedom)
Distribution: gnu
Organization: Lawrence Livermore National Laboratory
Lines: 13