Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78034 - sandbox/big_number/boost/multiprecision/detail
From: john_at_[hidden]
Date: 2012-04-17 05:20:48


Author: johnmaddock
Date: 2012-04-17 05:20:47 EDT (Tue, 17 Apr 2012)
New Revision: 78034
URL: http://svn.boost.org/trac/boost/changeset/78034

Log:
Fix __int128 selection logic
Text files modified:
   sandbox/big_number/boost/multiprecision/detail/cpp_int_core.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/big_number/boost/multiprecision/detail/cpp_int_core.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/detail/cpp_int_core.hpp (original)
+++ sandbox/big_number/boost/multiprecision/detail/cpp_int_core.hpp 2012-04-17 05:20:47 EDT (Tue, 17 Apr 2012)
@@ -8,7 +8,8 @@
 
 namespace boost{ namespace multiprecision{
 
-#if defined(__GNUC__) && !defined(BOOST_INTEL) && defined(__WORDSIZE) && (__WORDSIZE == 64)
+#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6))) \
+ && !defined(BOOST_INTEL) && defined(__WORDSIZE) && (__WORDSIZE == 64)
 
 typedef boost::uint64_t limb_type;
 typedef boost::int64_t signed_limb_type;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk