|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55170 - branches/release/libs/spirit/test/karma
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-30 14:42:21
Author: hkaiser
Date: 2009-07-25 21:20:11 EDT (Sat, 25 Jul 2009)
New Revision: 55170
URL: http://svn.boost.org/trac/boost/changeset/55170
Log:
Spirit: fixed regression on Darwin/PPC
Text files modified:
branches/release/libs/spirit/test/karma/real_numerics.cpp | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
Modified: branches/release/libs/spirit/test/karma/real_numerics.cpp
==============================================================================
--- branches/release/libs/spirit/test/karma/real_numerics.cpp (original)
+++ branches/release/libs/spirit/test/karma/real_numerics.cpp 2009-07-25 21:20:11 EDT (Sat, 25 Jul 2009)
@@ -67,8 +67,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)
///////////////////////////////////////////////////////////////////////////////
// We need to specialize is_real_lit_tag to allow to use a real_concept as a
// literal below
@@ -396,8 +397,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_spec<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