Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9322: spinlock_gcc_arm.hpp fails when building iOS arm64
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-27 16:01:08
#9322: spinlock_gcc_arm.hpp fails when building iOS arm64
------------------------------------------+-----------------------
Reporter: Joe Radjavitch <joerad11@â¦> | Owner: pdimov
Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+-----------------------
Comment (by anonymous):
Running clang Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM
3.3svn) like this:
clang++ -fvisibility=hidden" "-fvisibility-inlines-hidden"
"-DBOOST_SP_USE_STD_ATOMIC" "-std=c++11" "-stdlib=libc++"
I get the following error:
{{{
In file included from ./boost/shared_ptr.hpp:17:
In file included from ./boost/smart_ptr/shared_ptr.hpp:34:
./boost/smart_ptr/detail/spinlock_pool.hpp:80:89: error: call to deleted
constructor of 'std::atomic_flag' (aka 'std::__1::atomic_flag')
BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT,
BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT,
BOOST_DETAIL_SPINLOCK_INIT,
^~~~~~~~~~~~~~~~~~~~~~~~~~
./boost/smart_ptr/detail/spinlock_std_atomic.hpp:81:38: note: expanded
from macro 'BOOST_DETAIL_SPINLOCK_INIT'
#define BOOST_DETAIL_SPINLOCK_INIT { ATOMIC_FLAG_INIT }
^~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/atomic:1510:26:
note: expanded from macro 'ATOMIC_FLAG_INIT'
#define ATOMIC_FLAG_INIT {false}
^~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/atomic:1384:5:
note: function has been explicitly marked deleted here
atomic_flag(const atomic_flag&) = delete;
^
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9322#comment:7> 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:15 UTC