Subject: [Boost-bugs] [Boost C++ Libraries] #6017: missing include (clang compatibility)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-12 20:54:39
#6017: missing include (clang compatibility)
------------------------------+---------------------------------------------
Reporter: rwgk | Owner: johnmaddock
Type: Patches | Status: new
Milestone: To Be Determined | Component: math
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
% diff boost/math/special_functions/detail/bessel_jy.hpp
boost/math/special_functions/detail/bessel_jy_.hpp
19a20
> #include <boost/math/special_functions/detail/bessel_jy_series.hpp>
GCC seems fine with/without the include. Here is the clang error without
the include:
boost/boost/math/special_functions/detail/bessel_jy.hpp:363:16: error:
call to function 'bessel_yn_small_z' that is neither visible in the
template definition nor found
by argument-dependent lookup
Yv = bessel_yn_small_z(n, x, &Yv_scale, pol);
^
boost/boost/math/special_functions/detail/bessel_jy_series.hpp:213:3:
note:
'bessel_yn_small_z' should be declared prior to the call site or in
namespace
'boost::math::policies'
T bessel_yn_small_z(int n, T z, T* scale, const Policy& pol)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6017> 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:07 UTC