Boost logo

Boost :

Subject: Re: [boost] Clang 3.4 failing to compile boost 1.57 headers
From: John Maddock (boost.regex_at_[hidden])
Date: 2015-01-18 07:01:28


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


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