Re: [Boost-bugs] [Boost C++ Libraries] #9315: boost shared_ptr should detect __sync support in clang

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9315: boost shared_ptr should detect __sync support in clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-13 22:42:55


#9315: boost shared_ptr should detect __sync support in clang
-------------------------------+-----------------------
  Reporter: vlovich@… | Owner: pdimov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------

Comment (by pdimov):

 Most versions of clang appear to provide a working {{{<atomic>}}}, so
 we'll probably use that instead of the obsolete {{{!__sync}}} intrinsics.

 https://github.com/boostorg/smart_ptr/commit/fed15ad8c50921cbfc0365156e4e4f4454dc1b91
 allows you to turn {{{std::atomic}}} support on manually by {{{#define
 BOOST_SP_USE_STD_ATOMIC}}}. This will eventually become the default when
 {{{std::atomic}}} is autodetected to be present.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9315#comment:2>
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