
18 Oct
2011
18 Oct
'11
12:14 p.m.
I'm new to Boost.Wave. I followed the "quick start", but found that wave take the C++0x keyword "decltype" as an identifier instead of a keyword. The macro "BOOST_WAVE_SUPPORT_CPP0X" is defined as "1". Boost version: 1.47.0 Any suggestions ?
The C++0x functionalities are enabled by passing --c++0x on the command line (I really ought to change that to --c++11, btw). If you use Wave as a library you need to enable this by invoking: ctx.set_language(boost::wave::support_cpp0x); HTH Regards Hartmut --------------- http://boost-spirit.com