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.
Links: http://en.wikipedia.org/wiki/Blocks_%28C_language_extension%29 http://clang.llvm.org/docs/Block-ABI-Apple.html File: CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp Errors: CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp 6 unexpected token: { CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp 8 unexpected token: { CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp 15 unexpected token: { CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp 25 unexpected token: { CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp 26 Unable to resolve identifier block_args. CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp 34 unexpected token: { CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp 35 Unable to resolve identifier block_args. CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp 43 unexpected token: { Syntax: template<typename ...Args> int f0(Args ...args) { return ^ { return sizeof...(Args); }() + ^ { return sizeof...(args); }(); }
As this is an extension, I changed issue type to enhancement.