id summary reporter owner description type status milestone component version severity resolution keywords cc 5274 failed to compile future.hpp with stlport 5.1.5 under msvc8.1, because of undefined class anonymous viboes "f:\dev\adoxx512_boost\adoxx\include\stlport\stl/type_traits.h(249) : error C2139: 'boost::detail::future_waiter::registered_waiter' : an undefined class is no t allowed as an argument to compiler intrinsic type trait '__has_trivial_constructor' f:\dev\adoxx512_boost\adoxx\include\boost/thread/future.hpp(395) : see declaration of 'boost::detail::future_waiter::registered_waiter' f:\dev\adoxx512_boost\adoxx\include\stlport\stl/_vector.h(137) : see reference to class template instantiation 'stlpd_std::__type_traits<_Tp>' being c ompiled with [ _Tp=boost::detail::future_waiter::registered_waiter ] f:\dev\adoxx512_boost\adoxx\include\stlport\stl/debug/_iterator.h(381) : see reference to class template instantiation 'stlpd_std::priv::_NonDbg_vecto r<_Tp,_Alloc>' being compiled with [ _Tp=boost::detail::future_waiter::registered_waiter, _Alloc=stlpd_std::allocator ] f:\dev\adoxx512_boost\adoxx\include\stlport\stl/debug/_vector.h(106) : see reference to class template instantiation 'stlpd_std::priv::__construct_che cker<_Container>' being compiled with [ _Container=stlpd_std::priv::_NonDbg_vector> ] f:\dev\adoxx512_boost\adoxx\include\boost/thread/future.hpp(396) : see reference to class template instantiation 'stlpd_std::vector<_Tp>' being compil ed with [ _Tp=boost::detail::future_waiter::registered_waiter ] f:\dev\adoxx512_boost\adoxx\include\stlport\stl/type_traits.h(250) : error C2139: 'boost::detail::future_waiter::registered_waiter' : an undefined class is no t allowed as an argument to compiler intrinsic type trait '__has_trivial_copy' f:\dev\adoxx512_boost\adoxx\include\boost/thread/future.hpp(395) : see declaration of 'boost::detail::future_waiter::registered_waiter' f:\dev\adoxx512_boost\adoxx\include\stlport\stl/type_traits.h(251) : error C2139: 'boost::detail::future_waiter::registered_waiter' : an undefined class is no t allowed as an argument to compiler intrinsic type trait '__has_trivial_assign' f:\dev\adoxx512_boost\adoxx\include\boost/thread/future.hpp(395) : see declaration of 'boost::detail::future_waiter::registered_waiter' f:\dev\adoxx512_boost\adoxx\include\stlport\stl/type_traits.h(252) : error C2139: 'boost::detail::future_waiter::registered_waiter' : an undefined class is no t allowed as an argument to compiler intrinsic type trait '__has_trivial_destructor' f:\dev\adoxx512_boost\adoxx\include\boost/thread/future.hpp(395) : see declaration of 'boost::detail::future_waiter::registered_waiter' f:\dev\adoxx512_boost\adoxx\include\stlport\stl/type_traits.h(253) : error C2139: 'boost::detail::future_waiter::registered_waiter' : an undefined class is no t allowed as an argument to compiler intrinsic type trait '__is_pod' f:\dev\adoxx512_boost\adoxx\include\boost/thread/future.hpp(395) : see declaration of 'boost::detail::future_waiter::registered_waiter' workaround class future_waiter { struct registered_waiter; // typedef std::vector::size_type count_type; typedef std::size_t count_type; struct registered_waiter { boost::shared_ptr future; detail::future_object_base::waiter_list::iterator wait_iterator; count_type index; registered_waiter(boost::shared_ptr const& future_, detail::future_object_base::waiter_list::iterator wait_iterator_, count_type index_): future(future_),wait_iterator(wait_iterator_),index(index_) {} }; BOOST_MPL_ASSERT((boost::is_same::size_type,std::size_t>));" Bugs closed Boost 1.52.0 thread Boost 1.50.0 Problem fixed viboes