-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cygwin problem caused by config.hpp defining BOOST_USE_UCONTEXT #172
Comments
Ah, that's #155. Well it breaks one of Fiber or Coroutine, then. |
boost.coroutine is deprecated |
ASIO depends on Coroutine, so whether it's "deprecated" or not is of no relevance. It must work. |
ASIO should switch to boost.context instead of using deprecated
boost.coroutine.
Peter Dimov ***@***.***> schrieb am Do., 3. Juni 2021, 21:00:
… ASIO depends on Coroutine, so whether it's "deprecated" or not is of no
relevance. It must work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG7IQAFT52VI24AOK2TICTTQ7GN7ANCNFSM46BERHOA>
.
|
That's not my department. I'm just seeing that Fiber fails to build on Cygwin, and am telling you that it does, and why. |
New Fiber failure after the latest changes:
|
fixed |
Indeed, thanks.
I've looked at your PR boostorg/asio#55 that does exactly that, but it seems to me that even if accepted, it won't solve the issue here. It would just move the dependency on |
I've been able to get https://cygwin.com/pipermail/cygwin-developers/2020-September/011970.html It also seems the https://cygwin.com/pipermail/cygwin-developers/2021-December/012536.html |
This means that some fixes have to be done in the cygwin?! |
context/include/boost/context/detail/config.hpp
Lines 33 to 35 in fb0f3ea
defines
BOOST_USE_UCONTEXT
on Cygwin. This causes Fiber to fail to build, because it tries to use ucontext, but Context is built with fcontext.If Context is built with ucontext instead, Fiber builds, but then Coroutine fails, because it needs fcontext:
https://github.com/boostorg/coroutine/blob/4e47f98d44ad0d5d487788ed6eb4d347489e5483/src/detail/coroutine_context.cpp#L68
Should
config.hpp
be definingBOOST_USE_UCONTEXT
on Cygwin?The text was updated successfully, but these errors were encountered: