Boost logo

Boost Users :

Subject: [Boost-users] [coroutine] errors compiling with clang 3.2
From: Marco Craveiro (marco.craveiro_at_[hidden])
Date: 2012-11-13 09:44:26


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net