[Boost-bugs] [Boost C++ Libraries] #12977: BOOST_NO_CXX11_HDR_MUTEX always defined when Clang is used

Subject: [Boost-bugs] [Boost C++ Libraries] #12977: BOOST_NO_CXX11_HDR_MUTEX always defined when Clang is used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-17 14:36:37


#12977: BOOST_NO_CXX11_HDR_MUTEX always defined when Clang is used
------------------------------+-------------------------
 Reporter: anonymous | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: config
  Version: Boost 1.63.0 | Severity: Problem
 Keywords: |
------------------------------+-------------------------
 Boost 1.63 boost/config/stdlib/libcpp.hpp has code


 {{{
 #if __cplusplus < 201103
 ...
 # define BOOST_NO_CXX11_HDR_MUTEX
 ...
 }}}

 So the macro is always defined despite of libc++ has std::mutex!
 Boost.Context - C++11 library never uses std::mutex as a consequence.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12977>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-04-17 14:39:25 UTC