Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55169 - trunk/libs/spirit/test/karma
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-30 14:42:20


Author: hkaiser
Date: 2009-07-25 21:19:49 EDT (Sat, 25 Jul 2009)
New Revision: 55169
URL: http://svn.boost.org/trac/boost/changeset/55169

Log:
Spirit: fixed regression on Darwin/PPC
Text files modified:
   trunk/libs/spirit/test/karma/real_numerics.cpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/libs/spirit/test/karma/real_numerics.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/real_numerics.cpp (original)
+++ trunk/libs/spirit/test/karma/real_numerics.cpp 2009-07-25 21:19:49 EDT (Sat, 25 Jul 2009)
@@ -438,8 +438,9 @@
     }
 
 // support for using real_concept with a Karma generator has been implemented
-// in Boost versions > 1.36 only
-#if BOOST_VERSION > 103600
+// in Boost versions > 1.36 only, additionally real_concept is available only
+// if BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is not defined
+#if BOOST_VERSION > 103600 && !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
     {
         using boost::math::concepts::real_concept;
         typedef karma::real_generator<real_concept> custom_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