|
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
'boost::atomics::detail::storage128_type')
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.
#define BOOST_HAS_LONG_LONG
+#if defined(__SIZEOF_INT128__)
+# define BOOST_HAS_INT128
+#endif
+
+
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk