Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-04-15 12:32:29


Author: johnmaddock
Date: 2008-04-15 12:32:28 EDT (Tue, 15 Apr 2008)
New Revision: 44431
URL: http://svn.boost.org/trac/boost/changeset/44431

Log:
Fix IBM AIX compiler errors.
Text files modified:
   trunk/libs/math/test/test_expint.cpp | 8 ++++++++
   trunk/libs/math/test/test_zeta.cpp | 4 ++++
   2 files changed, 12 insertions(+), 0 deletions(-)

Modified: trunk/libs/math/test/test_expint.cpp
==============================================================================
--- trunk/libs/math/test/test_expint.cpp (original)
+++ trunk/libs/math/test/test_expint.cpp 2008-04-15 12:32:28 EDT (Tue, 15 Apr 2008)
@@ -131,7 +131,11 @@
    std::cout << test_name << " with type " << type_name << std::endl;
 
    typedef value_type (*pg)(value_type, value_type);
+#if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS)
+ pg funcp = expint_wrapper<value_type>;
+#else
    pg funcp = expint_wrapper;
+#endif
 
    boost::math::tools::test_result<value_type> result;
    //
@@ -172,7 +176,11 @@
    std::cout << test_name << " with type " << type_name << std::endl;
 
    typedef value_type (*pg)(value_type);
+#if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS)
+ pg funcp = boost::math::expint<value_type>;
+#else
    pg funcp = boost::math::expint;
+#endif
 
    boost::math::tools::test_result<value_type> result;
    //

Modified: trunk/libs/math/test/test_zeta.cpp
==============================================================================
--- trunk/libs/math/test/test_zeta.cpp (original)
+++ trunk/libs/math/test/test_zeta.cpp 2008-04-15 12:32:28 EDT (Tue, 15 Apr 2008)
@@ -105,7 +105,11 @@
    std::cout << test_name << " with type " << type_name << std::endl;
 
    typedef value_type (*pg)(value_type);
+#if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS)
+ pg funcp = boost::math::zeta<value_type>;
+#else
    pg funcp = boost::math::zeta;
+#endif
 
    boost::math::tools::test_result<value_type> result;
    //


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