boostorg/math

Atan deprecations emitting warnings from tests

Closed this issue · 2 comments

math/build$ cmake ../ -G Ninja
math/build$ ninja
~/math/include/boost/math/complex/atanh.hpp:24:3: note: 'atanh<double>' has been explicitly marked deprecated here
[[deprecated("Replaced by C++11")]] std::complex<T> atanh(const std::complex<T>& z)
  ^
~/math/test/compile_test/compl_atanh_incl_test.cpp:24:58: warning: 'atanh<long double>' is deprecated: Replaced by C++11 [-Wdeprecated-declarations]
   check_result<std::complex<long double> >(boost::math::atanh(std::complex<long double>()));
                                                         ^
~/math/include/boost/math/complex/atanh.hpp:24:3: note: 'atanh<long double>' has been explicitly marked deprecated here
[[deprecated("Replaced by C++11")]] std::complex<T> atanh(const std::complex<T>& z)
  ^
3 warnings generated.

My bad!