This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/32271] Incorrect warnings in disabled code.



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]