24 Mar
2016
24 Mar
'16
7:56 a.m.
On 2016/03/24 16:27, Oliver Kowalke wrote:
2016-03-24 8:00 GMT+01:00 Thomas Trummer
: 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_mute... Kohei