Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83369 - trunk/boost/math/tools
From: john_at_[hidden]
Date: 2013-03-09 06:32:52


Author: johnmaddock
Date: 2013-03-09 06:32:51 EST (Sat, 09 Mar 2013)
New Revision: 83369
URL: http://svn.boost.org/trac/boost/changeset/83369

Log:
Restrict __float128 support to GCC only for now.
Fixes #8265.
Text files modified:
   trunk/boost/math/tools/config.hpp | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/tools/config.hpp
==============================================================================
--- trunk/boost/math/tools/config.hpp (original)
+++ trunk/boost/math/tools/config.hpp 2013-03-09 06:32:51 EST (Sat, 09 Mar 2013)
@@ -210,7 +210,11 @@
 //
 // Test whether to support __float128:
 //
-#ifdef _GLIBCXX_USE_FLOAT128
+#if defined(_GLIBCXX_USE_FLOAT128) && defined(BOOST_GCC)
+//
+// Only enable this when the compiler really is GCC as clang and probably
+// intel too don't support __float128 yet :-(
+//
 # define BOOST_MATH_USE_FLOAT128
 #endif
 


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