
Hi, i'm trying to get boost.context (from boost vault) to build with g++ 4.4.1 and 4.5.1 with -std=c++0x on both compilers i'm getting this error: In function `main': test.cpp:(.text+0x94): undefined reference to `boost::contexts::context::operator=(boost::contexts::context&&)' collect2: ld returned 1 exit status the test case is the following code: ------- test.cpp -------------- #include <boost/context.hpp> #include <iostream> using namespace std; void CallWrapper(void* p) { cout << " inside CallWrapper " << endl; }; int main() { boost::context ctx; boost::context current = boost::context::current(); ctx = boost::context::create(CallWrapper, current , 0 , boost::context::default_stacksize); cout << " after creating the context, before executing it " << endl; current.jump_to(ctx); cout << " after executing the context " << endl; }; ----------------------------------- i built the code with this command line: g++ -std=c++0x `pkg-config --cflags boost-1.43` test.cpp -o xtest `pkg-config --libs boost-context` -lboost_context -lboost_system when i remove -std=c++0x from the command line, the code compiles and runs fine Charles J. Quarra