preprocessor/7022: #line in .i files is broken in gcc 3.1

neil@gcc.gnu.org neil@gcc.gnu.org
Thu Jun 13 13:43:00 GMT 2002


Synopsis: #line in .i files is broken in gcc 3.1

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Thu Jun 13 13:29:29 2002
State-Changed-Why:
    This is intentional: -fpreprocessed only expects to see what can appear in a preprocessed file.  In particular, it doesn't expand macros, and #line expects macros to expand.
    
    Please change your tool to do the # markers; they work on all versions of GCC.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7022



More information about the Gcc-bugs mailing list