8 Jun
2014
8 Jun
'14
1:34 a.m.
Peter Dimov wrote:
In file included from ../libs/config/test/config_test.cpp:376:0: ../libs/config/test/boost_no_lambdas.ipp: In function 'int boost_no_cxx11_lambdas::test()': ../libs/config/test/boost_no_lambdas.ipp:21:4: error: expected primary-expression before 'void' (void)[](){}; ^
See this PR. [C++11] lambda-expression and explicit type conversion (cast notation) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54891 We can workaround the issue by changing - (void)[](){} to - (void)([](){}) Regards, Michel