Boost logo

Boost :

Subject: [boost] [config] <atomic> disabled on clang-3.6?
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-21 19:04:50

libstdcpp3.hpp contains:

#if defined(__clang_major__) && ((__clang_major__ < 3) || ((__clang_major__
== 3) && (__clang_minor__ < 7)))
// As of clang-3.6, libstdc++ header <atomic> throws up errors with clang:

but in the sibling thread about issues with clang-3.6 and thread sanitizer,
SmartPtr has been reported to work with -DBOOST_SP_USE_STD_ATOMIC, which
uses <atomic>. The reported g++ version is 4.9.2:

    g++ (Ubuntu 4.9.2-0ubuntu1~14.04) 4.9.2

and Clang is:

    Ubuntu clang version 3.6.0-svn225356-1~exp1 (trunk) (based on LLVM

Boost list run by bdawes at, gregod at, cpdaniel at, john at