Boost logo

Boost :

Subject: Re: [boost] Clang 3.4 failing to compile boost 1.57 headers
From: Robert Dailey (rcdailey.lists_at_[hidden])
Date: 2015-01-18 13:30:33


On Sun, Jan 18, 2015 at 6:01 AM, John Maddock <boost.regex_at_[hidden]> wrote:
>> I have done some quick tests on this with various versions of Clang on
>> Ubunbtu 12.04
>>
>> Clang 3,4, 3,5 3,6 (not yet released).
>>
>> All work with C++03 , All fail with C++11 and the default libraries from
>> gcc (4.6 on my system)
>
>
> This sounds like it may be a config issue then - BOOST_NO_CXX11_ALLOCATOR
> should be set for GCC-4.6.x and earlier. However it's next to impossible to
> correctly identify the libstdc++ version when using clang (there's a long
> discussion about this here https://svn.boost.org/trac/boost/ticket/7473).
>
> So:
>
> 1) Is Boost.Config setting BOOST_NO_CXX11_ALLOCATOR for clang on top of
> gcc-4.6.x std lib?
> 2) If not, what value is BOOST_LIBSTDCXX_VERSION set to?
>
> Thanks, John.

Are you asking me? If so, how do I check #1 and #2?


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