[Boost-bugs] [Boost C++ Libraries] #4794: Error in namespace resolution when including cbrt.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #4794: Error in namespace resolution when including cbrt.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-26 19:24:12


#4794: Error in namespace resolution when including cbrt.hpp
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 When building opencog with boost 1.44.0

 [ 92%] Building CXX object
 opencog/learning/moses/CMakeFiles/moses.dir/eda/initialization.cc.o
 In file included from
 /usr/local/include/boost/math/special_functions/detail/t_distribution_inv.hpp:14,
                  from
 /usr/local/include/boost/math/special_functions/detail/ibeta_inverse.hpp:17,
                  from
 /usr/local/include/boost/math/special_functions/beta.hpp:1437,
                  from
 /usr/local/include/boost/math/special_functions/binomial.hpp:14,
                  from
 /Users/smane/Documents/Software/opencog/opencog/learning/moses/eda/../moses/neighborhood_sampling.h:29,
                  from
 /Users/smane/Documents/Software/opencog/opencog/learning/moses/eda/initialization.cc:25:
 /usr/local/include/boost/math/special_functions/cbrt.hpp: In function ‘T
 boost::math::detail::cbrt_imp(T, const Policy&)’:
 /usr/local/include/boost/math/special_functions/cbrt.hpp:72: error:
 expected unqualified-id before ‘(’ token

 The fix for this is to replace "if(!boost::math::isfinite(z))" with
 "if(!isfinite(z))" in function cbrt_imp().

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4794>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC