Path: 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 | 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