This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: stupid C preprocessor question
- From: "Steven G. Kargl" <kargl at troutmask dot apl dot washington dot edu>
- To: Robert Dewar <dewar at gnat dot com>
- Cc: Zack Weinberg <zack at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 24 Mar 2004 07:44:44 -0800 (PST)
- Subject: Re: stupid C preprocessor question
Robert Dewar wrote:
> Steven G. Kargl wrote:
>
> > I don't have access to
> > the C99 standard, but Harbison and Steele state in a discussion
> > of #if ... #endif constructs that "A group of lines that is
> > discarded is not processed by the preprocessor." (H&S, 5th ed.
> > page 62).
>
> This is just plain wrong, or rather casually careless.
>
H&S have a correct explanation. It's my reading comprehesion
after a 14+ hour day seems to be diminished.
--
Steve
http://troutmask.apl.washington.edu/~kargl/