Boost logo

Boost :

Subject: Re: [boost] [config] clang/int128 support
From: John Maddock (john_at_[hidden])
Date: 2013-10-28 05:27:11


> is it ok to commit this patch?

Please do.

Thanks, John.

> 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
> +
> +
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk