|
Boost Users : |
Subject: Re: [Boost-users] Wave doesn't recognize c++0x keywords ?
From: éå°§ (torshie_at_[hidden])
Date: 2011-10-18 21:52:04
Thanks for the reply. It solved my problems ;)
btw, you should support both "--c++0x" and "--c++11" for compatibility
reasons :p
-Yao
On Tue, Oct 18, 2011 at 8:14 PM, Hartmut Kaiser <hartmut.kaiser_at_[hidden]>wrote:
> > 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
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net