preprocessor/6848: Not a preprocessing directive
neil@gcc.gnu.org
neil@gcc.gnu.org
Wed May 29 12:32:00 GMT 2002
Synopsis: Not a preprocessing directive
State-Changed-From-To: feedback->closed
State-Changed-By: neil
State-Changed-When: Wed May 29 12:32:46 2002
State-Changed-Why:
There is no bug; it is not being treated as a preprocessing
directive. What makes you think it is?
The tokens are output as-is into the output stream, like
any "normal" preprocessor tokens are. The output stream
therefore contains
#error I'm not a preprocessing directive
but note that if you check the return value of GCC -E in
the shell, it is zero, and no error occurred.
If you compile with -c, you of course get a syntax error
when the compiler proper reads the raw '#'.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6848
More information about the Gcc-bugs
mailing list