Boost logo

Boost :

Subject: Re: [boost] [config] config_test fails on g++ 4.8/4.9
From: Michel Morin (mimomorin_at_[hidden])
Date: 2014-06-07 21:34:06

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)

We can workaround the issue by changing
- (void)[](){}
- (void)([](){})


Boost list run by bdawes at, gregod at, cpdaniel at, john at