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