This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
File: CXX/lex/lex.trigraph/p1.cpp Errors: CXX/lex/lex.trigraph/p1.cpp 3 unexpected token: ? CXX/lex/lex.trigraph/p1.cpp 5 unexpected token: int CXX/lex/lex.trigraph/p1.cpp 9 unexpected token: ] CXX/lex/lex.trigraph/p1.cpp 11 unexpected token: ) CXX/lex/lex.trigraph/p1.cpp 13 unexpected token: ; CXX/lex/lex.trigraph/p1.cpp 15 unexpected token: ? CXX/lex/lex.trigraph/p1.cpp 17 unexpected token: > CXX/lex/lex.trigraph/p1.cpp 19 unexpected token: ; CXX/lex/lex.trigraph/p1.cpp 20 unexpected end of file Code: ??=pragma // expected-warning {{trigraph converted to '#' character}} int a = '??/0'; // expected-warning {{trigraph converted to '\' character}} int b = 1 ??' 0; // expected-warning {{trigraph converted to '^' character}} int c ??(1]; // expected-warning {{trigraph converted to '[' character}} int d [1??); // expected-warning {{trigraph converted to ']' character}} int e = 1 ??! 0; // expected-warning {{trigraph converted to '|' character}} void f() ??<} // expected-warning {{trigraph converted to '{' character}} void g() {??> // expected-warning {{trigraph converted to '}' character}} int h = ??- 0; // expected-warning {{trigraph converted to '~' character}}
File: CXX/lex/lex.trigraph/p2.cpp Errors: CXX/lex/lex.trigraph/p2.cpp 3 unexpected token: ? Code: ??=define arraycheck(a,b) a??(b??) ??!??! b??(a??) // expected-warning {{trigraph converted to '#' character}} expected-warning {{trigraph converted to '[' character}} expected-warning {{trigraph converted to ']' character}} expected-warning {{trigraph converted to '|' character}} expected-warning {{trigraph converted to '|' character}} expected-warning {{trigraph converted to '[' character}} expected-warning {{trigraph converted to ']' character}}
Is it real P2? Do you know user project where trigraphs are used? Downgrade priority.