Re: [Boost-bugs] [Boost C++ Libraries] #2602: Error, inaccessible: boost::thread::thread(boost::thread&) is not accessible from ...

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2602: Error, inaccessible: boost::thread::thread(boost::thread&) is not accessible from ...
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-04 11:44:21


#2602: Error, inaccessible: boost::thread::thread(boost::thread&) is not
accessible from ...
---------------------------------------------------+------------------------
  Reporter: Roberto Gimenez <chilabot_at_[hidden]> | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: Boost 1.38.0 | Component: thread
   Version: Boost 1.37.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------------+------------------------
Changes (by Jonathan Wakely <jwakely.boost_at_[hidden]>):

 * cc: jwakely.boost_at_[hidden] (added)

Comment:

 This is still present in 1.38.0_beta2

 I managed to work around (patch follows) but now `test_move_function.cpp`
 fails with similar errors, because some of the tests hit the same bug
 (failure to implicitly convert to `thread_move_t` and back)

 {{{
 sun.compile.c++
 ../../../bin.v2/libs/thread/test/test_move_function_lib.test/sun-5.9/debug
 /threading-multi/test_move_function.o
 "test_move_function.cpp", line 38: Error, inaccessible:
 boost::thread::thread(boost::thread&) is not accessible from
 start_thread().
 "test_move_function.cpp", line 43: Error, inaccessible:
 boost::thread::thread(boost::thread&) is not accessible from
 test_thread_move_from_rvalue_on_construction().
 "test_move_function.cpp", line 62: Error, inaccessible:
 boost::unique_lock<boost::mutex>::unique_lock(boost::unique_lock<boost::mutex>&)
 is not accessible from
 test_unique_lock_move_from_lvalue_on_construction().
 "test_move_function.cpp", line 71: Error, inaccessible:
 boost::unique_lock<boost::mutex>::unique_lock(boost::unique_lock<boost::mutex>&)
 is not accessible from get_lock(boost::mutex&).
 "test_move_function.cpp", line 78: Error, inaccessible:
 boost::unique_lock<boost::mutex>::unique_lock(boost::unique_lock<boost::mutex>&)
 is not accessible from
 test_unique_lock_move_from_rvalue_on_construction().
 5 Error(s) detected.
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2602#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:49:59 UTC