stupid C preprocessor question
Steven G. Kargl
kargl@troutmask.apl.washington.edu
Wed Mar 24 18:40:00 GMT 2004
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/
More information about the Gcc
mailing list