Boost logo

Boost :

Subject: Re: [boost] BOOST_NO_CXX11_HDR_CODECVT confusion
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-11-17 14:29:19


> But I still have a problem. When I use the swithc -std=c++03 I expect
> that BOOST_NO_CXX11_HDR_CODECVT be defined as C++ versions prior to
> C++ 11 don't have header <codecvt>. Same goes for other headers
> required only for more recent compilers. But my expectations aren't
> realized as BOOST_NO_CXX11_HDR_CODECVT is not defined in this case.
> The leads to selection of library code which invokes an #error saying
> that it's not supported.
>

Works for me, invoking gcc 6.1.0 with -std=c++03 results in
BOOST_NO_CXX11_HDR_CODECVT being defined as expected.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk