
Charlls Quarra wrote:
Hi,
sorry for the replying delay
You are right, i was trying to link against boost built without c++0x, so i went back into the build directory and ran:
bjam -a architecture=x86 instruction-set=i686 toolset=gcc cxxflags=-std=gnu++0x --with-context stage
verified that the library had the appropiate symbols:
nm stage/libboost_context.so.1.43 | c++filt | grep '&&' 00002d09 W boost::remove_reference<boost::contexts::context&>::type&& boost::move<boost::contexts::context&>(boost::contexts::context&&&) 00002408 T boost::contexts::context::context(boost::contexts::context&&) 000023d4 T boost::contexts::context::context(boost::contexts::context&&) 0000243c T boost::contexts::context::operator=(boost::contexts::context&&) 00002d5d W std::remove_reference<boost::contexts::context::impl_t*&>::type&& std::move<boost::contexts::context::impl_t*&>(boost::contexts::context::impl_t*&&&)
This concerns the move constructor and assignments.
I tried to rebuild the test project exactly as in my first post, but i got this error:
boost_1_43_0/stage/libboost_context.so: undefined reference to `boost::contexts::context::context(boost::contexts::context const&)' collect2: ld returned 1 exit status
The message is telling you that the copy constructor is undefined, which is normal as a context is not copy contructible. HTH, Vicente -- View this message in context: http://boost.2283326.n4.nabble.com/context-build-error-with-std-c-0x-tp30517... Sent from the Boost - Dev mailing list archive at Nabble.com.