17 Nov
2016
17 Nov
'16
7:29 p.m.
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.