Boost logo

Boost :

Subject: Re: [boost] clang++ isn't getting the BOOST_NO_CXX11_HDR_FUNCTIONAL flag that it needs
From: Eric Niebler (eniebler_at_[hidden])
Date: 2014-04-16 15:56:18

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
> 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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at