Boost logo

Boost :

Subject: Re: [boost] Boost 1.61.0 Beta 1 Release Candidate 2
From: Kohei Takahashi (flast_at_[hidden])
Date: 2016-03-24 03:56:36


On 2016/03/24 16:27, Oliver Kowalke wrote:
> 2016-03-24 8:00 GMT+01:00 Thomas Trummer <th.trummer_at_[hidden]>:
>
> note the check of C++11 mutex in your output
>
>
>> Building the Boost C++ Libraries.
>>
> - symlinks supported : yes
>> - C++11 mutex : yes
>>
> that means that boost.context will/should use std-thread library instead of
> boost.thread
>
> the question is why boost.build evaluates the feature-check of C++11-thread
> to true and still compiles/linkes with boost.thread.
I got it. The feature-check build target
'config/checks//cxx11_hdr_mutex' actually try to include <mutex> and
compile it via [1] regardless of whether BOOST_NO_CXX11_HDR_MUTEX will
be defined or not.

[1]
https://github.com/boostorg/config/blob/develop/test/boost_no_cxx11_hdr_mutex.ipp

Kohei




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