preprocessor/9203: preprocessor
neil@gcc.gnu.org
neil@gcc.gnu.org
Mon Jan 13 05:17:00 GMT 2003
Synopsis: preprocessor
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Mon Jan 6 15:12:47 2003
State-Changed-Why:
Not a bug. If an identifier in #if is not an expandable macro, it is replaced by 0 as required by ISO C.
You can get a warning for this latter case (when the identifier is not a macro) with -Wundef.
All this is documented in the manual.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9203
More information about the Gcc-bugs
mailing list