Boost logo

Boost :

Subject: Re: [boost] [EXTERNAL] Boost.Config for clang on Linux with libc++
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2016-11-13 15:16:44

> On Nov 13, 2016, at 12:27 PM, John Maddock <jz.maddock_at_[hidden]> wrote:
> 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 for the help.

Here’s the command line output and the config.log.

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