21 May 11:18
[thread] test_lock* and test_move* failures on trunk
From: Markus Schöpflin <markus.schoepflin <at> comsoft.de>
Subject: [thread] test_lock* and test_move* failures on trunk
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-05-21 09:20:35 GMT
Subject: [thread] test_lock* and test_move* failures on trunk
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-05-21 09:20:35 GMT
Hello,
a number of platforms currently fail to compile these tests with an error
message similar to the following:
cxx: Error: ../boost/thread/pthread/thread.hpp, line 169: more than one
instance of overloaded function "boost::bind" matches the argument
list: (ambovlfun)
function template "boost::bind<R,F,A1>(F, A1)"
function template "boost::bind(R (T::*)(), A1)"
The code in question reads:
template <class F,class A1>
thread(F f,A1 a1):
thread_info(make_thread_info(boost::bind<void>(f,a1)))
{
start_thread();
}
and it is used like this (in test_lock_concept.cpp):
struct ...
{
void locking_thread()
{
...
}
...
(Continue reading)
RSS Feed