This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/27777] New: Bad diagnostic emission when #error contains a trigraph
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2006 08:30:44 -0000
- Subject: [Bug preprocessor/27777] New: Bad diagnostic emission when #error contains a trigraph
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase, compiled with -trigraphs:
#error "BUG??!"
produces:
x.c:3:2: error: #error "BUG|"x.c:3:12: warning: trigraph ??! converted to |
The diagnostics are good, but there should be a newline in-between those.
-Chris
--
Summary: Bad diagnostic emission when #error contains a trigraph
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sabre at nondot dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27777