Boost logo

Boost :

Subject: [boost] [config] clang/int128 support
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-10-27 16:50:16

hi all,

is it ok to commit this patch?

this works around some issues when compiling boost.atomic with clang-3.4:
../../../boost/atomic/detail/gcc-atomic.hpp:961:64: error: no matching
constructor for initialization of 'storage_type' (aka
    explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0)

thnx, tim

--- a/boost/config/compiler/clang.hpp
+++ b/boost/config/compiler/clang.hpp
@@ -39,6 +39,11 @@
 // Clang supports "long long" in all compilation modes.

+#if defined(__SIZEOF_INT128__)
+# define BOOST_HAS_INT128

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