Boost logo

Boost :

Subject: Re: [boost] [1.48.0] Beta 1 release candidates available
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-10-26 21:22:45


Le 26/10/11 15:41, Beman Dawes a écrit :
> Release candidate files for 1.48.0 beta 1 are available at
> http://boost.cowic.de/rc/
>
>
> This helps ensure the candidates build OK before we push them out to
> SourceForge.
>
>
Hi,

Build Ok in Mac OS gcc 4.1.2.

There are some build errors on MAC-OS clang in libraries Locale and Math.

clang-darwin.compile.c++
bin.v2/libs/locale/build/clang-darwin-3.0x/release/threading-multi/posix/codecvt.o
libs/locale/src/posix/codecvt.cpp:137:30: error: non-constant-expression
cannot be narrowed from type 'unsigned char' to 'char' in initializer list
             char inseq[3] = {seq0 , begin[1], 0};
                              ^~~~
libs/locale/src/posix/codecvt.cpp:137:30: note: override this message by
inserting an explicit cast
             char inseq[3] = {seq0 , begin[1], 0};
                              ^~~~
                              stat)c_cast<char>(
1 error generated.

     "/Users/viboes/clang/llvmCore-3.0-rc1.install/bin/clang++" -x c++
-std=c++0x -O3 -O3 -finline-functions -Wno-inline -Wall
-DBOOST_ALL_NO_LIB=1 -DBOOST_LOCALE_DYN_LINK=1
-DBOOST_LOCALE_NO_WINAPI_BACKEND=1 -DBOOST_LOCALE_WITH_ICONV=1
-DBOOST_THREAD_NO_LIB=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/locale/build/clang-darwin-3.0x/release/threading-multi/posix/codecvt.o"
"libs/locale/src/posix/codecvt.cpp"

...failed clang-darwin.compile.c++
bin.v2/libs/locale/build/clang-darwin-3.0x/release/threading-multi/posix/codecvt.o...
...skipped
<pbin.v2/libs/locale/build/clang-darwin-3.0x/release/threading-multi>libboost_locale.dylib
for lack of
<pbin.v2/libs/locale/build/clang-darwin-3.0x/release/threading-multi>posix/codecvt.o...
...skipped <pstage/lib>libboost_locale.dylib for lack of
<pbin.v2/libs/locale/build/clang-darwin-3.0x/release/threading-multi>libboost_locale.dylib...
clang-darwin.compile.c++
bin.v2/libs/math/build/clang-darwin-3.0x/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: expanded 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.

     "/Users/viboes/clang/llvmCore-3.0-rc1.install/bin/clang++" -x c++
-std=c++0x -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-3.0x/release/threading-multi/cyl_bessel_i.o"
"libs/math/build/../src/tr1/cyl_bessel_i.cpp"

...failed clang-darwin.compile.c++
bin.v2/libs/math/build/clang-darwin-3.0x/release/threading-multi/cyl_bessel_i.o...

...

The same error appears several times then


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