FS#48779 - [boost-libs] Boost.Coroutine2 code does not link with Boost.Context.

Attached to Project: Arch Linux
Opened by Carlos Ferreira (Claymore) - Friday, 01 April 2016, 02:38 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 09 November 2016, 20:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Boost.Coroutine2 requires Boost.Context to be compiled using the standard C++14.
If a standard bellow C++14 is used, Boost.Coroutine2 examples will fail to link with boost_context lib. This is what currently happens.

The "-std=c++14" option should be passed to the boost builder using the option "cxxflags"
Ex: cxxflags="${CXXFLAGS} ${CPPFLAGS} -fPIC -std=c++14"


Links:
The issue was discussed here:
http://boost.2283326.n4.nabble.com/Coroutine2-examples-Cannot-link-properly-td4684960.html
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Wednesday, 09 November 2016, 20:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  boost 1.62.0-2

Loading...