Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68290 - trunk/boost/math
From: john_at_[hidden]
Date: 2011-01-19 10:05:21


Author: johnmaddock
Date: 2011-01-19 10:05:18 EST (Wed, 19 Jan 2011)
New Revision: 68290
URL: http://svn.boost.org/trac/boost/changeset/68290

Log:
Fix for IMB C++ on Linux.
Fixes #5090.
Text files modified:
   trunk/boost/math/tr1.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/tr1.hpp
==============================================================================
--- trunk/boost/math/tr1.hpp (original)
+++ trunk/boost/math/tr1.hpp 2011-01-19 10:05:18 EST (Wed, 19 Jan 2011)
@@ -40,7 +40,8 @@
 // Set any throw specifications on the C99 extern "C" functions - these have to be
 // the same as used in the std lib if any.
 //
-#if defined(__GLIBC__) && defined(__THROW)
+#if (defined(__GLIBC__) && defined(__THROW)) \
+ || (defined(__IBMCPP__) && defined(__LINUX__) && defined(__THROW))
 # define BOOST_MATH_C99_THROW_SPEC __THROW
 #else
 # define BOOST_MATH_C99_THROW_SPEC


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