Boost logo

Boost :

Subject: Re: [boost] [1.48.0] Beta 1 is now available from SourceForge
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2011-10-27 12:25:08


On Oct 27, 2011, at 8:17 AM, Beman Dawes wrote:

> Boost release 1.48.0 beta 1 is now available from SourceForge
>
[snip]

> Please download the beta, give it a try, and report any problems you encounter.

Downloaded and tried on Mac OS X 10.7.2, with Xcode 4.2 - using both "darwin" and "clang" toolsets.

Darwin results: a couple warnings.
Clang results: 12 failed targets

...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/threading-multi/cyl_bessel_i.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/threading-multi/cyl_bessel_k.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/threading-multi/cyl_bessel_if.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/threading-multi/cyl_bessel_kf.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/threading-multi/cyl_bessel_il.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/threading-multi/cyl_bessel_kl.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/link-static/threading-multi/cyl_bessel_i.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/link-static/threading-multi/cyl_bessel_k.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/link-static/threading-multi/cyl_bessel_if.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/link-static/threading-multi/cyl_bessel_kf.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/link-static/threading-multi/cyl_bessel_il.o...
...failed clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/link-static/threading-multi/cyl_bessel_kl.o...
...failed updating 12 targets…

Here's one of the compile failures:

> clang-darwin.compile.c++ bin.v2/libs/math/build/clang-darwin-4.2.1/release/threading-multi/cyl_bessel_i.o
> In file included from libs/math/build/../src/tr1/cyl_bessel_i.cpp:11:
> In file included from ./boost/math/special_functions/bessel.hpp:20:
> ./boost/math/special_functions/detail/bessel_ik.hpp:320:16: error: call to function 'bessel_i_small_z_series' that is neither visible in the template definition nor found by argument-dependent lookup
> Iv = bessel_i_small_z_series(v, x, pol);
> ^
> ./boost/math/special_functions/bessel.hpp:276:4: note: in instantiation of function template specialization 'boost::math::detail::bessel_ik<long double, boost::math::policies::policy<domain_error<errno_on_error>, pole_error<errno_on_error>, overflow_error<errno_on_error>, evaluation_error<errno_on_error>, rounding_error<errno_on_error>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy> >' requested here
> bessel_ik(v, x, &I, &K, need_i, pol);
> ^
> ./boost/math/special_functions/bessel.hpp:464:65: note: in instantiation of function template specialization 'boost::math::detail::cyl_bessel_i_imp<long double, boost::math::policies::policy<domain_error<errno_on_error>, pole_error<errno_on_error>, overflow_error<errno_on_error>, evaluation_error<errno_on_error>, rounding_error<errno_on_error>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy> >' requested here
> return policies::checked_narrowing_cast<result_type, Policy>(detail::cyl_bessel_i_imp<value_type>(v, static_cast<value_type>(x), pol), "boost::math::cyl_bessel_i<%1%>(%1%,%1%)");
> ^
> libs/math/src/tr1/c_policy.hpp:129:1: note: in instantiation of function template specialization 'boost::math::cyl_bessel_i<double, double, boost::math::policies::policy<domain_error<errno_on_error>, pole_error<errno_on_error>, overflow_error<errno_on_error>, evaluation_error<errno_on_error>, rounding_error<errno_on_error>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy> >' requested here
> BOOST_MATH_DECLARE_SPECIAL_FUNCTIONS(c_policy)
> ^
> ./boost/math/special_functions/math_fwd.hpp:992:38: note: instantiated from:
> cyl_bessel_i(T1 v, T2 x) { return boost::math::cyl_bessel_i(v, x, Policy()); }\
> ^
> libs/math/build/../src/tr1/cyl_bessel_i.cpp:16:11: note: in instantiation of function template specialization 'c_policies::cyl_bessel_i<double, double>' requested here
> return c_policies::cyl_bessel_i BOOST_PREVENT_MACRO_SUBSTITUTION(nu, x);
> ^
> ./boost/math/special_functions/bessel.hpp:195:10: note: 'bessel_i_small_z_series' should be declared prior to the call site or in an associated namespace of one of its arguments
> inline T bessel_i_small_z_series(T v, T x, const Policy& pol)
> ^
> 1 error generated.
>
> "clang++" -x c++ -O3 -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/clang-darwin-4.2.1/release/threading-multi/cyl_bessel_i.o" "libs/math/build/../src/tr1/cyl_bessel_i.cpp"
>

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk