Bug #4839
closedmake fails against boost 1.60
0%
Description
To Reproduce:
Check out wt tag 3.3.5 on an up-to-date arch linux system. (boost should be installed, and is currently on version 1.60.)
mkdir build; cd build; cmake ..; make -j;
fails with the following error:
/home/lawsa/source/wt/test/dbo/DboTest.C: In member function 'void dbo_test26::test_method()':
/home/lawsa/source/wt/test/dbo/DboTest.C:2381:76: error: no matching function for call to 'ref(dbo_test26::test_method()::CheckExpected&)'
model->dataChanged().connect(boost::bind(boost::ref(checkExpected),
^
In file included from /usr/include/boost/ref.hpp:15:0,
from /usr/include/boost/function/function_base.hpp:28,
from /usr/include/boost/function/detail/prologue.hpp:17,
from /usr/include/boost/function/function_template.hpp:13,
from /usr/include/boost/function/detail/maybe_include.hpp:13,
from /usr/include/boost/function/function0.hpp:11,
from /usr/include/boost/test/tree/fixture.hpp:24,
from /usr/include/boost/test/tree/decorator.hpp:22,
from /usr/include/boost/test/tools/fpc_tolerance.hpp:19,
from /usr/include/boost/test/tools/fpc_op.hpp:19,
from /usr/include/boost/test/test_tools.hpp:54,
from /usr/include/boost/test/unit_test.hpp:18,
from /home/lawsa/source/wt/test/dbo/DboTest.C:6:
/usr/include/boost/core/ref.hpp:131:74: note: candidate: template const boost::reference_wrapper boost::ref(T&)
template BOOST_FORCEINLINE reference_wrapper BOOST_REF_CONST ref( T & t )
^
/usr/include/boost/core/ref.hpp:131:74: note: template argument deduction/substitution failed:
/home/lawsa/source/wt/test/dbo/DboTest.C: In substitution of 'template const boost::reference_wrapper boost::ref(T&) [with T = dbo_test26::test_method()::CheckExpected]':
/home/lawsa/source/wt/test/dbo/DboTest.C:2381:76: required from here
/home/lawsa/source/wt/test/dbo/DboTest.C:2381:76: error: template argument for 'template const boost::reference_wrapper boost::ref(T&)' uses local type 'dbo_test26::test_method()::CheckExpected'
model->dataChanged().connect(boost::bind(boost::ref(checkExpected),
^
/home/lawsa/source/wt/test/dbo/DboTest.C:2381:76: error: trying to instantiate 'template const boost::reference_wrapper boost::ref(T&)'
test/CMakeFiles/test.mysql.dir/build.make:86: recipe for target 'test/CMakeFiles/test.mysql.dir/dbo/DboTest.o' failed
make[2]: * [test/CMakeFiles/test.mysql.dir/dbo/DboTest.o] Error 1
make[2]: * Waiting for unfinished jobs....
On IRC, blackonyx was able to reproduce.
Updated by lm at about 6 years ago
I think this is a non-issue now and can be closed.
Updated by Roel Standaert over 2 years ago
- Description updated (diff)
- Status changed from New to Closed