Re: [Boost-bugs] [Boost C++ Libraries] #8593: enable std::atomic with clang / libc++

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8593: enable std::atomic with clang / libc++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-20 08:22:58


#8593: enable std::atomic with clang / libc++
-----------------------------------+----------------------------------------
  Reporter: reakinator@… | Owner: timblechmann
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: lockfree
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------

Comment (by timblechmann):

 unfortunately this does not work on linux:

 {{{
 /usr/include/c++/v1/atomic:623:58: error: no viable conversion from
 'boost::lockfree::detail::tagged_index' to
 '_Atomic(boost::lockfree::detail::tagged_index)'
     _LIBCPP_CONSTEXPR __atomic_base(_Tp __d) _NOEXCEPT : __a_(__d) {}
                                                          ^ ~~~
 /usr/include/c++/v1/atomic:727:51: note: in instantiation of member
 function 'std::__1::__atomic_base<boost::lockfree::detail::tagged_index,
 false>::__atomic_base' requested here
     _LIBCPP_CONSTEXPR atomic(_Tp __d) _NOEXCEPT : __base(__d) {}
                                                   ^
 ../../../boost/lockfree/detail/freelist.hpp:404:9: note: in instantiation
 of member function
 'std::__1::atomic<boost::lockfree::detail::tagged_index>::atomic'
 requested here
         pool_(tagged_index(static_cast<index_t>(count), 0))
         ^
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8593#comment:1>
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:13 UTC