Boost logo

Boost Users :

Subject: Re: [Boost-users] Context and coroutine for ARM
From: d25fe0be_at_[hidden]
Date: 2017-05-13 14:38:55


Sorry about my previous post, it should be irrelevant here since you tried to compile `execution_context.cpp` by calling GCC directly in the shell and still failed.

Still not clear why `b2` believes many of C++11 features are absent and why std::exception_ptr is not recognized though..

> On 13 May 2017, at 22:21, d25fe0be_at_[hidden] wrote:
>
> Since you're using GCC 6.3, which defaults to -std=c++14, specifying -std=c++11 explicitly should not be necessary.
>
> But what's shown by `b2` in your previous post (http://sprunge.us/hMVe) suggests many of C++11 features are not supported by your compiler ('Boost.Config Feature Check: cxx11_..: no').
>
> So I think you may want to check which compiler is called by `b2`, there may be some other old compiler being called.
>
>> On 13 May 2017, at 21:17, Daniel Estermann via Boost-users <boost-users_at_[hidden]> wrote:
>>
>> No matter if I add -std=c++11 to the flags, I still get the error message: http://sprunge.us/gSXb
>> This is my compiler's configuration: http://sprunge.us/iaWZ
>> I'm not sure how to check why C++11 code is used though.
>>
>>
>>
>> 2017-05-13 15:02 GMT+02:00 Oliver Kowalke via Boost-users <boost-users_at_[hidden]>:
>> exception_ptr is part of C++11 but not used in boost.coroutine (and the fcontext-API of boost.context) -
>> you could apply -std=c++11(cxxflags) or check why C++11 code is used
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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