On 04/16/2014 06:08 AM, Beman Dawes wrote:
On Tue, Apr 15, 2014 at 3:48 PM, Chris Cooper wrote:
1. Would you agree that’s the right place to set BOOST_NO_CXX11_HDR_FUNCTIONAL (when appropriate)?
The right place is .../config/stdlib/libcpp.hpp since what header is available is a function of the library rather than the compiler.
The current version of libcpp.hpp is pretty rudimentary and doesn't test for specific versions of libc++. You might want to read "Best way to detect libc++ at compile time?"
See http://clang-developers.42468.n3.nabble.com/Best-way-to-detect-libc-at-compi...
It would certainly be nice to get a patch to update libcpp.hpp.
Just be sure that you don't break clang with libstdc++ since that's a common configuration, too. Eric