id summary reporter owner description type status milestone component version severity resolution keywords cc 9341 compile error scoped_thread(move semantics) intel-linux-14.0.1 viboes viboes " {{{ Test output: lazy piranha fedora 19 64 C++11 - thread - async__async_p / intel-linux-14.0.1 Rev 86557 / Mon, 04 Nov 2013 03:10:05 +0000 Compile [2013-11-04 10:17:36 UTC]: fail ""/home/michael/programming/compilers/intel/composer_xe_2013_sp1.1.106/bin/intel64/icpc"" -c -xc++ -std=c++11 -O0 -g -w2 -inline-level=0 -pthread -fPIC -wd1418 -wd193,304,383,444 -wd2415 -wd593,981 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1 -I"".."" -c -o ""/home/michael/boost_testing/results/boost/bin.v2/libs/thread/test/async__async_p.test/intel-linux-14.0.1/debug/threading-multi/sync/futures/async/async_pass.o"" ""../libs/thread/test/sync/futures/async/async_pass.cpp"" ../boost/thread/detail/move.hpp(299): error: function ""boost::scoped_thread::scoped_thread(const boost::scoped_thread &) [with CallableThread=boost::join_if_joinable]"" (declared at line 123 of ""../boost/thread/scoped_thread.hpp"") cannot be referenced -- it is a deleted function return boost::forward(t); ^ detected during: instantiation of ""boost::thread_detail::decay::type boost::thread_detail::decay_copy(T &&) [with T=boost::scoped_thread &]"" at line 265 of ""../boost/thread/detail/thread.hpp"" instantiation of ""boost::thread::thread(F &&) [with F=boost::scoped_thread &]"" at line 142 of ""../boost/thread/scoped_thread.hpp"" instantiation of ""boost::scoped_thread::scoped_thread(F &&, Args &&...) [with CallableThread=boost::join_if_joinable, F=boost::scoped_thread &, Args=<>, =boost::scoped_thread::dummy *]"" at line 75 of ""/usr/include/c++/4.8.2/bits/stl_construct.h"" instantiation of ""void std::_Construct(_T1 *, _Args &&...) [with _T1=boost::thread_pool::thread_t, _Args= &>]"" at line 75 of ""/usr/include/c++/4.8.2/bits/stl_uninitialized.h"" instantiation of ""_ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _TrivialValueTypes=false, _InputIterator=boost::scoped_thread *, _ForwardIterator=boost::thread_pool::thread_t *]"" at line 117 of ""/usr/include/c++/4.8.2/bits/stl_uninitialized.h"" instantiation of ""_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator=boost::scoped_thread *, _ForwardIterator=boost::thread_pool::thread_t *]"" at line 258 of ""/usr/include/c++/4.8.2/bits/stl_uninitialized.h"" instantiation of ""_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp> &) [with _InputIterator=boost::scoped_thread *, _ForwardIterator=boost::thread_pool::thread_t *, _Tp=boost::thread_pool::thread_t]"" at line 1142 of ""/usr/include/c++/4.8.2/bits/stl_vector.h"" instantiation of ""std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(std::vector<_Tp, _Alloc>::size_type={std::size_t={unsigned long}}, _ForwardIterator, _ForwardIterator) [with _Tp=boost::thread_pool::thread_t, _Alloc=std::allocator, _ForwardIterator=boost::scoped_thread *]"" at line 75 of ""/usr/include/c++/4.8.2/bits/vector.tcc"" instantiation of ""void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type={std::size_t={unsigned long}}) [with _Tp=boost::thread_pool::thread_t, _Alloc=std::allocator]"" at line 122 of ""../boost/thread/thread_pool.hpp"" ../boost/thread/detail/thread.hpp(117): error: call of an object of a class type without appropriate operator() or conversion functions to pointer-to-function type f(); ^ detected during: instantiation of ""void boost::detail::thread_data::run() [with F=boost::scoped_thread]"" at line 99 implicit generation of ""boost::detail::thread_data::~thread_data() [with F=boost::scoped_thread]"" at line 99 instantiation of class ""boost::detail::thread_data [with F=boost::scoped_thread]"" at line 99 instantiation of ""boost::detail::thread_data::thread_data(F &&) [with F=boost::scoped_thread]"" at line 24 of ""../boost/thread/pthread/thread_heap_alloc.hpp"" instantiation of ""T *boost::detail::heap_new(A1 &&) [with T=boost::detail::thread_data>, A1=boost::scoped_thread]"" at line 214 [ 4 instantiation contexts not shown ] instantiation of ""_ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _TrivialValueTypes=false, _InputIterator=boost::scoped_thread *, _ForwardIterator=boost::thread_pool::thread_t *]"" at line 117 of ""/usr/include/c++/4.8.2/bits/stl_uninitialized.h"" instantiation of ""_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator=boost::scoped_thread *, _ForwardIterator=boost::thread_pool::thread_t *]"" at line 258 of ""/usr/include/c++/4.8.2/bits/stl_uninitialized.h"" instantiation of ""_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp> &) [with _InputIterator=boost::scoped_thread *, _ForwardIterator=boost::thread_pool::thread_t *, _Tp=boost::thread_pool::thread_t]"" at line 1142 of ""/usr/include/c++/4.8.2/bits/stl_vector.h"" instantiation of ""std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(std::vector<_Tp, _Alloc>::size_type={std::size_t={unsigned long}}, _ForwardIterator, _ForwardIterator) [with _Tp=boost::thread_pool::thread_t, _Alloc=std::allocator, _ForwardIterator=boost::scoped_thread *]"" at line 75 of ""/usr/include/c++/4.8.2/bits/vector.tcc"" instantiation of ""void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type={std::size_t={unsigned long}}) [with _Tp=boost::thread_pool::thread_t, _Alloc=std::allocator]"" at line 122 of ""../boost/thread/thread_pool.hpp"" compilation aborted for ../libs/thread/test/sync/futures/async/async_pass.cpp (code 2) }}} " Bugs closed Boost 1.56.0 thread Boost 1.54.0 Problem fixed