|
Boost Users : |
Subject: [Boost-users] [Boost.Math special functions] Critical error in zeta.hpp, Boost 1.54.0
From: Rainer Deyke (rainerd_at_[hidden])
Date: 2013-07-04 06:02:42
I'm getting compile errors when including
"boost/math/special_functions/zeta.hpp" (which in turn is included
indirectly by "boost/random.hpp"). This is in the recently released
"boost_1_54_0.tar.bz2" under Linux Mint 16 for amd64, gcc 4.7.3.
Minimal test case:
#include "boost/math/special_functions/zeta.hpp"
int main() {}
Exact error message:
In file included from source/eldwood/test/zeta.cpp:1:0:
intermediate/usr_x86_64-pc-linux-gnu/include/boost/math/special_functions/zeta.hpp:
In function âT boost::math::detail::zeta_imp(T, T, const Policy&, const
Tag&)â:
intermediate/usr_x86_64-pc-linux-gnu/include/boost/math/special_functions/zeta.hpp:877:24:
error: âlog_root_two_piâ is not a member of âboost::math::constantsâ
intermediate/usr_x86_64-pc-linux-gnu/include/boost/math/special_functions/zeta.hpp:877:52:
error: expected primary-expression before â,â token
intermediate/usr_x86_64-pc-linux-gnu/include/boost/math/special_functions/zeta.hpp:877:60:
error: expected primary-expression before â>â token
intermediate/usr_x86_64-pc-linux-gnu/include/boost/math/special_functions/zeta.hpp:877:62:
error: expected primary-expression before â)â token
The same error also manifests under clang.
-- Rainer Deyke (rainerd_at_[hidden])
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net