c/3487: unrecognized token before #include points to wrong source
neil@gcc.gnu.org
neil@gcc.gnu.org
Mon Jul 2 04:07:00 GMT 2001
Synopsis: unrecognized token before #include points to wrong source
State-Changed-From-To: open->analyzed
State-Changed-By: neil
State-Changed-When: Mon Jul 2 04:07:24 2001
State-Changed-Why:
I'm far from convinced this is a bug, or even undesirable behaviour - the compiler reports its position when it finds a syntax error. In some weird cases, this happens to be in the header file.
In any case, the cause is the front end and not the preprocessor. I'll let a C front end maintainer decide.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3487&database=gcc
More information about the Gcc-bugs
mailing list