Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9112: [tr1] Failures in test_ref_wrapper_tricky.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-13 16:26:28
#9112: [tr1] Failures in test_ref_wrapper_tricky.cpp
----------------------------------------+-------------------------
Reporter: Petr Machata <pmachata@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: TR1
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-------------------------
Comment (by Petr Machata <pmachata@â¦>):
The errors reported by the test case look like this:
{{{
gcc.compile.c++
../../../bin.v2/libs/tr1/test/test_ref_wrapper_tricky.test/gcc-4.6.3/debug/test_ref_wrapper_tricky.o
test_ref_wrapper_tricky.cpp: In function 'int main()':
test_ref_wrapper_tricky.cpp:42:220: error: invalid application of 'sizeof'
to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
test_ref_wrapper_tricky.cpp:42:221: error: template argument 1 is invalid
test_ref_wrapper_tricky.cpp:42:254: error: invalid type in declaration
before ';' token
test_ref_wrapper_tricky.cpp:48:227: error: invalid application of 'sizeof'
to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
test_ref_wrapper_tricky.cpp:48:228: error: template argument 1 is invalid
test_ref_wrapper_tricky.cpp:48:261: error: invalid type in declaration
before ';' token
test_ref_wrapper_tricky.cpp:64:34: error: no match for call to
'(boost::reference_wrapper<functor1>) (int&)'
test_ref_wrapper_tricky.cpp:75:41: error: no match for call to
'(boost::reference_wrapper<functor2>) (int&, int&)'
test_ref_wrapper_tricky.cpp:79:9: warning: unused variable 'ri' [-Wunused-
variable]
test_ref_wrapper_tricky.cpp:80:15: warning: unused variable 'cri'
[-Wunused-variable]
}}}
Those two are from the unary_function and binary_function specializations
that I haven't fixed, as mentioned above.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9112#comment:1> 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:14 UTC