Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-11-07 05:07:08


Author: johnmaddock
Date: 2007-11-07 05:07:08 EST (Wed, 07 Nov 2007)
New Revision: 40878
URL: http://svn.boost.org/trac/boost/changeset/40878

Log:
Ooops, got the pp-logic wrong and disable long double support for all Unix platforms, instead of just Intel on Linux prior to version 10.
Text files modified:
   trunk/boost/math/tools/config.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/tools/config.hpp
==============================================================================
--- trunk/boost/math/tools/config.hpp (original)
+++ trunk/boost/math/tools/config.hpp 2007-11-07 05:07:08 EST (Wed, 07 Nov 2007)
@@ -39,7 +39,7 @@
 //
 # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
 #endif
-#if defined(unix) && (__INTEL_COMPILER <= 1000)
+#if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000)
 //
 // Intel compiler prior to version 10 has sporadic problems
 // calling the long double overloads of the std lib math functions:


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