MESSAGE
DATE | 2011-06-11 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] (fwd) Re: Using sizeof in the preprocessor
|
-- forwarded message -- Path: reader1.panix.com!panix!bloom-beacon.mit.edu!micro-heart-of-gold.mit.edu!nntp.club.cc.cmu.edu!feeder.erje.net!feeder2.news.elisa.fi!fi.sn.net!newsfeed1.tdcnet.fi!news.song.fi!not-for-mail Message-ID: <4dd809a7$0$2844$7b1e8fa0-at-news.nbl.fi> From: Juha Nieminen Subject: Re: Using sizeof in the preprocessor Newsgroups: comp.lang.c++ References: <4dd7bfa5$0$7624$9b4e6d93-at-newsspool1.arcor-online.net> User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.38.6-kapsi-grbfs+ (x86_64)) Date: 21 May 2011 18:51:19 GMT Lines: 5 Organization: NBL Networks Oy NNTP-Posting-Host: 217.30.184.161 X-Trace: 1306003879 news.nbl.fi 2844 217.30.184.161:32206 X-Complaints-To: abuse-at-nblnetworks.fi Xref: panix comp.lang.c++:1085122
Huibert Bol wrote: > Identifiers in #if expressions are evaluated as zero
It seems that at least with gcc "#if true" and "#if false" work as one would expect. Is this standard? -- end of forwarded message --
|
|