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!news.linkpendium.com!news.linkpendium.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Huibert Bol Newsgroups: comp.lang.c++ Subject: Re: Using sizeof in the preprocessor Date: Sat, 21 May 2011 21:52:34 +0200 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: <4dd7bfa5$0$7624$9b4e6d93-at-newsspool1.arcor-online.net> <4dd809a7$0$2844$7b1e8fa0-at-news.nbl.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="zaorCeL+9EqcwERxopEMWA"; logging-data="12132"; mail-complaints-to="abuse-at-eternal-september.org"; posting-account="U2FsdGVkX183orz+DcThVpoOlofUy4Fp" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:OzpbCOHt/6JxUKkcEixl0kEczD8= Xref: panix comp.lang.c++:1085127
Juha Nieminen wrote:
> 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?
Yes, "except true and false". Also the alternative tokens (and, andeq, bitand, etc, ...) are replaced as they are not considered identifiers.
-- Huibert "Okay... really not something I needed to see." --Raven -- end of forwarded message --
|
|