This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
preprocessor/6848: Not a preprocessing directive
- From: fonseca at mip dot sdu dot dk
- To: gcc-gnats at gcc dot gnu dot org
- Date: 28 May 2002 16:55:19 -0000
- Subject: preprocessor/6848: Not a preprocessing directive
- Reply-to: fonseca at mip dot sdu dot dk
>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: