[Bug c++/69865] New: -trigraphs option broken
bernd.edlinger at hotmail dot de
gcc-bugzilla@gcc.gnu.org
Thu Feb 18 12:36:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865
Bug ID: 69865
Summary: -trigraphs option broken
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: bernd.edlinger at hotmail dot de
Target Milestone: ---
Hi,
I know, nobody likes them, but...
cat test.cc
int
main ()
??<
return 0;
??>
gcc -trigraphs test.cc
test.cc:3:1: warning: trigraph ??< ignored, use -trigraphs to enable
[-Wtrigraphs]
??<
^
test.cc:5:1: warning: trigraph ??> ignored, use -trigraphs to enable
[-Wtrigraphs]
??>
^
test.cc:3:1: error: expected initializer before '?' token
??<
^
test.cc:5:1: error: expected unqualified-id before '?' token
??>
^
More information about the Gcc-bugs
mailing list