preprocessor/6848: Not a preprocessing directive

fonseca@mip.sdu.dk fonseca@mip.sdu.dk
Tue May 28 09:56:00 GMT 2002


>Number:         6848
>Category:       preprocessor
>Synopsis:       Not a preprocessing directive
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 28 09:56:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     fonseca@mip.sdu.dk
>Release:        cpp (GCC) 3.1
>Organization:
>Environment:
any
>Description:
Line 2 should not be parsed as a preprocessing directive (at least when using -std=iso9899:1999). I have not checked what other language specifications than ISO/IEC 9899:1999 say.

Same problem for "gcc -E".

#define SYMBOL // line 1
SYMBOL #error I'm not a preprocessing directive // line 2
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list