public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: preprocessor/2881
@ 2001-05-21 2:16 neil
0 siblings, 0 replies; only message in thread
From: neil @ 2001-05-21 2:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR preprocessor/2881; it has been noted by GNATS.
From: neil@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, markus@oberhumer.com, nobody@gcc.gnu.org
Cc:
Subject: Re: preprocessor/2881
Date: 21 May 2001 09:12:27 -0000
Synopsis: code inside "#if 0" generates warnings with -pedantic
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Mon May 21 02:12:27 2001
State-Changed-Why:
Not a bug. Like Carlo said, the standard mandates that,
in translation pass 3, comments are removed.
This occurs before translation phase 4, in which
preprocessing directives are handled. Thus, theoretically,
the comment-handling part of the preprocessor has no idea
whether it is in a false conditional or not.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2881&database=gcc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-21 2:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-21 2:16 preprocessor/2881 neil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).