MESSAGE
DATE | 2011-06-11 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] (fwd) Re: Using sizeof in the preprocessor
|
From owner-hangout-outgoing-at-mrbrklyn.com Sat Jun 11 01:04:49 2011 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by www2.mrbrklyn.com (Postfix) id 9990E100B7D; Sat, 11 Jun 2011 01:04:48 -0400 (EDT) Delivered-To: hangout-outgoing-at-www2.mrbrklyn.com Received: by www2.mrbrklyn.com (Postfix, from userid 28) id 9E7AE100B19; Sat, 11 Jun 2011 01:04:46 -0400 (EDT) Delivered-To: hangout-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by www2.mrbrklyn.com (Postfix) with ESMTP id 4DC9F100B07 for ; Sat, 11 Jun 2011 01:04:44 -0400 (EDT) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 90549320DF for ; Sat, 11 Jun 2011 01:04:42 -0400 (EDT) Received: by panix2.panix.com (Postfix, from userid 20529) id 7687033C5F; Sat, 11 Jun 2011 01:04:42 -0400 (EDT) From: Ruben Safir To: hangout-at-nylxs.com Subject: [NYLXS - HANGOUT] (fwd) Re: Using sizeof in the preprocessor User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (NetBSD/5.1 (i386)) Message-Id: <20110611050442.7687033C5F-at-panix2.panix.com> Date: Sat, 11 Jun 2011 01:04:42 -0400 (EDT) Sender: owner-hangout-at-mrbrklyn.com Precedence: bulk Reply-To: hangout-at-mrbrklyn.com
-- 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 --
|
|