[Boost-bugs] [Boost C++ Libraries] #10076: Thread compilation failure on OS X 10.9.3, clang 5.1

Subject: [Boost-bugs] [Boost C++ Libraries] #10076: Thread compilation failure on OS X 10.9.3, clang 5.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-28 18:30:25


#10076: Thread compilation failure on OS X 10.9.3, clang 5.1
------------------------------+----------------------
 Reporter: erik@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: darwin clang-5.1 |
------------------------------+----------------------
 While compiling just the thread library on OS X, 10.9.3 (clang 5.1), got 7
 errors and 10 warnings, here's the first error:

 darwin.compile.c++ bin.v2/libs/atomic/build/darwin-4.2.1/release/link-
 static/threading-multi/lockpool.o
 In file included from libs/atomic/src/lockpool.cpp:3:
 In file included from ./boost/atomic.hpp:12:
 In file included from ./boost/atomic/atomic.hpp:17:
 In file included from ./boost/atomic/detail/platform.hpp:22:
 ./boost/atomic/detail/gcc-atomic.hpp:961:64: error: no matching
 constructor for initialization of 'storage_type' (aka
 'boost::atomics::detail::storage128_type')
     explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0)
                                                                ^ ~
 ./boost/atomic/detail/gcc-atomic.hpp:932:28: note: candidate constructor
 (the implicit copy constructor) not viable: no known conversion from 'int'
 to 'const boost::atomics::detail::storage128_type' for 1st argument
 struct BOOST_ALIGNMENT(16) storage128_type
                            ^
 ./boost/atomic/detail/gcc-atomic.hpp:932:28: note: candidate constructor
 (the implicit default constructor) not viable: requires 0 arguments, but 1
 was provided
 ./boost/atomic/detail/gcc-atomic.hpp:968:22: error: no viable conversion
 from 'int' to 'storage_type' (aka
 'boost::atomics::detail::storage128_type')
         storage_type tmp = 0;

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10076>
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-02-16 18:50:16 UTC