🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #90

Re: Is "#define __ foo" legal?

#90
From: dave
Date: Wed, 05 Aug 1992 23:01
16 lines
1030 bytes
In <JET.92Aug5151555@win30.nas.nasa.gov> J. Eric Townsend writes:
>
> #define __ foo
>

This is valid.  But beware that any identifier which begins with two
underscores is reserved for use to the compiler, so it might very well be
substituting __ for something else under the covers on you.  If it's not,
well, then your compiler is just wrong. :-)

dave

-------------------------------------------------------------------------
Dave Mooney                                              dmm@vnet.ibm.com
 C Set/2 Development, IBM Canada Lab, 844 Don Mills Rd, Toronto, Ontario
            "If you've got a blacklist, I want to be on it"
Technical Details
Message-ID: <19920805.160209.556@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
References: <JET.92Aug5151555@win30.nas.nasa.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
From: dmm@vnet.ibm.com (dave)
Message-ID: <19920805.160209.556@almaden.ibm.com>
Date: Wed, 5 Aug 92 19:01:51 EDT
Newsgroups: comp.std.c
Subject: Re: Is "#define __ foo" legal?
Organization: IBM Canada Lab
News-Software: UReply 3.0
X-X-From: dmm@vnet.ibm.com (Dave Mooney)
References: <JET.92Aug5151555@win30.nas.nasa.gov>
Lines: 16