[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cpp0 -std=gnu99 rejects # comments

From: marcus
Subject: cpp0 -std=gnu99 rejects # comments
Date: 17 Sep 2002 13:26:20 -0000

>Category:       preprocessor
>Synopsis:       cpp0 -std=gnu99 rejects # comments
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Class:          rejects-legal
>Submitter-Id:   net
>Originator:     Marcus Brinkmann
>Release:        gcc (GCC) 3.2 (20020809) Debian prerelease
The bug only appears with -std=gnu99.

The preprocessor rejects # comments on a line of their own
when compiling assembler code.
$ echo "# foo" | cpp -lang-asm -std=gnu99
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "<stdin>"
<stdin>:1:3: invalid preprocessing directive #foo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]