[Math Toolkit] MSVC 7.1 issue

I just downloaded the latest version of the Math Toolkit, and tried a simple example: #include <boost/math/distributions/students_t.hpp> boost::math::students_t_distribution<double>(5) dist; When I compile these two lines of code with MSVC 7.1 I get the following error messages: boost\math\special_functions\log1p.hpp(195) : error C2785: 'tools::promote_args<T>::type boost::math::log1p(T)' and 'double boost::math::log1p(double)' have different return types boost\math\special_functions\math_fwd.hpp(246) : see declaration of 'boost::math::log1p' boost\math\special_functions\log1p.hpp(182) : see declaration of 'boost::math::log1p' boost\math\special_functions\log1p.hpp(195) : error C2912: explicit specialization; 'double boost::math::log1p<double>(double)' is not a specialization of a function template boost\math\special_functions\log1p.hpp(183) : fatal error C1903: unable to recover from previous error(s); stopping compilation -- Johan Råde

Johan Råde wrote:
I just downloaded the latest version of the Math Toolkit, and tried a simple example:
#include <boost/math/distributions/students_t.hpp> boost::math::students_t_distribution<double>(5) dist;
When I compile these two lines of code with MSVC 7.1 I get the following error messages:
[snip] I used Boost 1.33.1. I'll try again with Boost 1.34 RC. -- Johan

Johan Råde wrote:
Johan Råde wrote:
I just downloaded the latest version of the Math Toolkit, and tried a simple example:
#include <boost/math/distributions/students_t.hpp> boost::math::students_t_distribution<double>(5) dist;
When I compile these two lines of code with MSVC 7.1 I get the following error messages:
[snip]
I used Boost 1.33.1. I'll try again with Boost 1.34 RC.
OK, Now it works :-) -- Johan
participants (2)
-
Johan Råde
-
John Maddock