This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/29586] New: [4.1 Regression] CPP doesn't handle ticks in #warning
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2006 20:22:42 -0000
- Subject: [Bug preprocessor/29586] New: [4.1 Regression] CPP doesn't handle ticks in #warning
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat blah.c
#warning (that's not C?)
$ gcc-4.1 -c -o blah.o blah.c
blah.c:1:2: warning: #warning (that's not C?)
$ gcc-4.3-HEAD -c -o blah.o blah.c
blah.c:1:2: warning: #warning (thatblah.c:1:15: warning: missing terminating '
character
's not C?)
Fails with:
gcc version 4.3.0 20061024 (experimental)
gcc version 4.2.0 20060922 (experimental)
Works with:
gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
--
Summary: [4.1 Regression] CPP doesn't handle ticks in #warning
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aldot at gcc dot gnu dot org
GCC build triplet: i686-linux-gnu
GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29586