compiles with clang 3.2 ( new commit) - but fails in unwind_stack()

Am 13.11.2012 15:44 schrieb "Marco Craveiro" <marco.craveiro@gmail.com>:
Hi boost-users,

As reported by Eugene Yakubovich[1], I am seeing problems compiling
boost coroutine with clang 3.1 on debian testing. I got my sources
from  git://gitorious.org/boost-dev/boost-dev.git at commit
c083660c54b88ca1ce9a940f4a71bc6c3ab89003. The error I get is:

/boost/coroutine/detail/coroutine_object.hpp:54:46: error: expected expression
     Context * ctx( hldr->data.get().get< 0 >() );
                                             ^
The same code compiles and runs fine with gcc 4.7. In both cases I'm
using C++11. I just want to double-check that this is some kind of
problem with clang - since 3.2 is on the wings I was wondering if this
would be resolved by the upgrade.

If anyone has managed to get it working with 3.1 I'd appreciate some pointers.

Many thanks for your time,

Marco
--
So young, and already so unknown -- Pauli

blog: http://mcraveiro.blogspot.com

[1] http://boost.2283326.n4.nabble.com/Review-Coroutine-reviewstarts-today-September-3rd-td4635140i20.html
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users