Boost logo

Boost :

Subject: Re: [boost] [1.55.0] Release candidates available
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2013-10-31 15:33:28


On Wed, 30 Oct 2013, Marshall Clow wrote:

> Release candidate files for 1.55.0 are available at
> http://boost.cowic.de/rc/
>
> As always, the release managers would appreciate it if you download
> the candidate of your choice and give building it a try. Please report
> both success and failure, and anything else that is noteworthy.
>
> This helps ensure the candidates build OK before we push them out to SourceForge.
>
> The files (and associated md5s) are:
> ba1ae723b8b4d1edeca684bb14b3213b *boost_1_55_0_rc1.tar.gz
> 66e01be2f328c556835c42be7b6d17d5 *boost_1_55_0_rc1.tar.bz2
> 925bb6c96082033687e5742b4e77af7b *boost_1_55_0_rc1.zip
> 830d61075ecf7d5ebf7c0843033393bf *boost_1_55_0_rc1.7z
>
> Thanks!

Testing using "g++ (GCC) 4.9.0 20131013 (experimental)" with the default
compilation flags (i.e., not C++11), I get errors including the following in
Boost.TR1:

common.mkdir bin.v2/libs/tr1/test/test_ref_wrapper_tricky.test
common.mkdir bin.v2/libs/tr1/test/test_ref_wrapper_tricky.test/gcc-4.9.0
common.mkdir bin.v2/libs/tr1/test/test_ref_wrapper_tricky.test/gcc-4.9.0/debug
gcc.compile.c++ bin.v2/libs/tr1/test/test_ref_wrapper_tricky.test/gcc-4.9.0/debug/test_ref_wrapper_tricky.o
In file included from ./boost/bind/bind.hpp:29:0,
                  from ./boost/bind.hpp:22,
                  from ./boost/tr1/functional.hpp:75,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
./boost/bind/arg.hpp: In constructor ¡boost::arg<I>::arg(const T&)¢:
./boost/bind/arg.hpp:37:22: warning: typedef ¡T_must_be_placeholder¢ locally defined but not used [-Wunused-local-typedefs]
          typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ];
                       ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp: In function ¡int main()¢:
libs/tr1/test/test_ref_wrapper_tricky.cpp:38:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<double (int)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:38:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<double (int)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:38:140: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<double (int)> >::value));
                                                                                                                                             ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:39:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<double (*)(int)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:39:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<double (*)(int)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:39:143: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<double (*)(int)> >::value));
                                                                                                                                                ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:40:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<test_type*, int>, std::tr1::reference_wrapper<int (test_type::*)()> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:40:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<test_type*, int>, std::tr1::reference_wrapper<int (test_type::*)()> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:40:152: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<test_type*, int>, std::tr1::reference_wrapper<int (test_type::*)()> >::value));
                                                                                                                                                         ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:41:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<const test_type*, int>, std::tr1::reference_wrapper<int (test_type::*)()const> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:41:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<const test_type*, int>, std::tr1::reference_wrapper<int (test_type::*)()const> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:41:163: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<const test_type*, int>, std::tr1::reference_wrapper<int (test_type::*)()const> >::value));
                                                                                                                                                                    ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:42:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<functor1> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:42:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<functor1> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:42:136: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::unary_function<int, double>, std::tr1::reference_wrapper<functor1> >::value));
                                                                                                                                         ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:44:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<double (int, char)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:44:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<double (int, char)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:44:153: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<double (int, char)> >::value));
                                                                                                                                                          ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:45:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<double (*)(int, char)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:45:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<double (*)(int, char)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:45:156: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<double (*)(int, char)> >::value));
                                                                                                                                                             ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:46:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<test_type*, char, int>, std::tr1::reference_wrapper<int (test_type::*)(char)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:46:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<test_type*, char, int>, std::tr1::reference_wrapper<int (test_type::*)(char)> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:46:163: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<test_type*, char, int>, std::tr1::reference_wrapper<int (test_type::*)(char)> >::value));
                                                                                                                                                                    ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:47:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<const test_type*, char, int>, std::tr1::reference_wrapper<int (test_type::*)(char)const> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:47:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<const test_type*, char, int>, std::tr1::reference_wrapper<int (test_type::*)(char)const> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:47:174: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<const test_type*, char, int>, std::tr1::reference_wrapper<int (test_type::*)(char)const> >::value));
                                                                                                                                                                               ^
In file included from ./boost/integer.hpp:23:0,
                  from ./boost/function/function_base.hpp:21,
                  from ./boost/function/detail/prologue.hpp:17,
                  from ./boost/function.hpp:24,
                  from ./boost/tr1/functional.hpp:102,
                  from libs/tr1/test/test_ref_wrapper_tricky.cpp:9:
libs/tr1/test/test_ref_wrapper_tricky.cpp:48:4: error: invalid application of ¡sizeof¢ to incomplete type ¡boost::STATIC_ASSERTION_FAILURE<false>¢
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<functor2> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:48:4: error: template argument 1 is invalid
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<functor2> >::value));
     ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:48:143: error: invalid type in declaration before ¡;¢ token
     BOOST_STATIC_ASSERT((::boost::is_base_and_derived<std::binary_function<int, char, double>, std::tr1::reference_wrapper<functor2> >::value));
                                                                                                                                                ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:60:33: error: no match for call to ¡(boost::reference_wrapper<int (test_type::*)()>) (test_type*&)¢
     verify_return_type((*pr3)(ptt), int());
                                  ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:62:34: error: no match for call to ¡(boost::reference_wrapper<int (test_type::*)() const>) (const test_type*&)¢
     verify_return_type((*pr4)(cptt), int());
                                   ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:64:34: error: no match for call to ¡(boost::reference_wrapper<functor1>) (int&)¢
     verify_return_type((*pr5)(zero), double());
                                   ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:71:39: error: no match for call to ¡(boost::reference_wrapper<int (test_type::*)(char)>) (test_type*&, int&)¢
     verify_return_type((*pr3b)(ptt,zero), int());
                                        ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:73:40: error: no match for call to ¡(boost::reference_wrapper<int (test_type::*)(char) const>) (const test_type*&, int&)¢
     verify_return_type((*pr4b)(cptt,zero), int());
                                         ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:75:41: error: no match for call to ¡(boost::reference_wrapper<functor2>) (int&, int&)¢
     verify_return_type((*pr5b)(zero, zero), double());
                                          ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:79:9: warning: unused variable ¡ri¢ [-Wunused-variable]
     int& ri = std::tr1::ref(i);
          ^
libs/tr1/test/test_ref_wrapper_tricky.cpp:80:15: warning: unused variable ¡cri¢ [-Wunused-variable]
     const int& cri = std::tr1::cref(i);
                ^

     "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -DBOOST_ALL_NO_LIB=1 -I"." -c -o "bin.v2/libs/tr1/test/test_ref_wrapper_tricky.test/gcc-4.9.0/debug/test_ref_wrapper_tricky.o" "libs/tr1/test/test_ref_wrapper_tricky.cpp"

...failed gcc.compile.c++ bin.v2/libs/tr1/test/test_ref_wrapper_tricky.test/gcc-4.9.0/debug/test_ref_wrapper_tricky.o...

and similar problems in std_test_ref_wrapper_tricky.

-- Jeremiah Willcock


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