This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/32271] Incorrect warnings in disabled code.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2007 09:34:09 -0000
- Subject: [Bug preprocessor/32271] Incorrect warnings in disabled code.
- References: <bug-32271-14679@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-10 09:34 -------
Actually the warning is correct as the code is undefined at compile time and
this is documented:
# Do not use @code{#if 0} for comments which are not C code. Use a real
# comment, instead. The interior of @code{#if 0} must consist of complete
# tokens; in particular, single-quote characters must balance.
*** This bug has been marked as a duplicate of 14634 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32271