Subject: [Boost-bugs] [Boost C++ Libraries] #8593: enable std::atomic with clang / libc++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-19 23:50:11
#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
Keywords: |
----------------------------------+-----------------------------------------
Attatched is a simple patch that checks if we're usng a version of clang /
libc++ that has <atomic> support.
The:
{{{
#if defined(_LIBCPP_VERSION) && __has_include( <atomic> )
}}}
is on a second line because I previously had problems with the
__has_include( <> ) macro when this code is interpreted by MSVC compiler -
it seems to want to process the entire line despite the first check
failing.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8593> 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