boostorg / config

Boost.org config module
http://boost.org/libs/config
72 stars 154 forks source link

Missing define BOOST_NO_CXX11_NULLPTR on OSX with libstdc++ #462

Closed Flamefire closed 1 year ago

Flamefire commented 1 year ago

A build on XCode 9.4.1 on Drone fails because the standard library (stdlibc++) is lacking the std::nullptr_t type.

I believe this means that BOOST_NO_CXX11_NULLPTR should be defined but is not. It seems to be possible that the compiler supports the nullptr keyword but just that the standard library is to old.

See also https://github.com/CPPAlliance/drone-ci/issues/15

jzmaddock commented 1 year ago

Now fixed in develop. I did not fix up C++17 compiler support though - the ancient std lib will likely cause unfixable issues.

Flamefire commented 1 year ago

Thanks!