Boost logo

Boost :

Subject: Re: [boost] Boost.Config for clang on Linux with libc++
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-11-13 14:27:46


On 13/11/2016 18:21, Peter Dimov wrote:
> Belcourt, Kenneth wrote:
>> Hi,
>>
>> Attached are user.hpp and the console output from running configure
>> with clang-3.9. Note that I tried to configure using libc++ but the
>> configure script immediately failed, so these are the results for
>> clang-3.9 with the default stdlib (libstdc++).
>>
>> Can someone please take a look and see what adjustments might need to
>> be made to Boost.Config to support this configuration? Once it works
>> for the default stdlib, I’d like to rerun it to use libc++.
>
> boost/config/compiler/clang.hpp doesn't seem to check the Clang
> version anywhere, it uses __has_feature, so it looks like it should
> work without any changes (at least for the default stdlib.)

+1, also when doing this, please run the configure script with the
--enable-test option otherwise we have no idea what to change (if anything).

Thanks, John.


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