This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

preprocessor/6848: Not a preprocessing directive



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]