Hy. I have a large error while compiling, and I don't know what to do.
In file included from /usr/include/c++/4.4/x86_64-linux-gnu/bits/c++allocator.h:34,
from /usr/include/c++/4.4/bits/allocator.h:48,
from /usr/include/c++/4.4/string:43,
from /usr/include/c++/4.4/bits/locale_classes.h:42,
from /usr/include/c++/4.4/bits/ios_base.h:43,
from /usr/include/c++/4.4/ios:43,
from /usr/include/c++/4.4/ostream:40,
from /usr/include/c++/4.4/iostream:40,
from main.cpp:9:
/usr/include/c++/4.4/bits/stl_list.h:464: instantiated from ‘std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_create_node(const _Tp&) [with _Tp = boost::thread, _Alloc = std::allocator<boost::thread>]’
/usr/include/c++/4.4/bits/stl_list.h:1407: instantiated from ‘void std::list<_Tp, _Alloc>::_M_insert(std::_List_iterator<_Tp>, const _Tp&) [with _Tp = boost::thread, _Alloc = std::allocator<boost::thread>]’
/usr/include/c++/4.4/bits/stl_list.h:920: instantiated from ‘void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = boost::thread, _Alloc = std::allocator<boost::thread>]’
main.cpp:57: instantiated from here
/usr/include/c++/4.4/ext/new_allocator.h:105: error: passing ‘const boost::thread’ as ‘this’ argument of ‘boost::thread::operator boost::detail::thread_move_t<boost::thread>()’ discards qualifiers