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.
C++11 alternative function syntax is not properly parsed by Code Assistance and an error "unexpected token: inline, unexpected token: &, unexpected token: ->" is printed.
mpusz, have you specified in project properties C++11 standard? As soon it is specified => it should work. http://wiki.netbeans.org/NewAndNoteworthyNB72#C.2B.2B11_Standard_Support If doesn't work, please, provide code snippet and reopen Thanks, Vladimir.
I set C++11 standard and with that most C++11 problems dissapeared. I am using gcc 4.8 from gcc-snapshot ubuntu repository. I was testing that on the last NB nightly build. Here is a gist you can use to test that C++11 related problem: https://gist.github.com/1337823 See utils.h file
fixed: http://hg.netbeans.org/cnd-main/rev/2b910a15c216
no parser's errors in utils.h verified in trunk (NetBeans IDE Dev (Build 201206200001))
fix is correct.
verified in NetBeans IDE 7.2 RC1 (Build 201206242201)