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.
Created attachment 124219 [details] Unexpected typedef. Unexpected token typedef. See attachment. Version from mercurial, 737c21309850
Sorry. Do you use NetBeans on Windows 8?
Yes, I use it on Windows 8 Release Preview.
Also i've found this bug on 7.2 release version (project and source code is same).
It looks like you've missed C++11 option in project properties (Project Properties->Build->C++ Compiler->C++ Standard). So ">>" breaks the parser.
The probability of this is very small, after project creation i always set C++ standard to C++11. Is it possible that NB try to parse file with old C++ standars after i set it in project options? (In reply to comment #4) > It looks like you've missed C++11 option in project properties (Project > Properties->Build->C++ Compiler->C++ Standard). > So ">>" breaks the parser.
Please, try -J-Dcnd.language.flavor.cpp11=true If it would help, then it's a problem in project setup.
*** This bug has been marked as a duplicate of bug 217052 ***