-
Notifications
You must be signed in to change notification settings - Fork 46
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
Build fails with Boost.ASIO 1.74 #266
Comments
Just FYI: The title is a little misleading, as this happens with Boost.ASIO 1.74, regardless of the platform. I've already tried to fix this, but in the end I failed to get the unit tests running, as the executor interface was completely changed. Maybe it still helps as a starting point. |
Thanks, Jonas! Looks like I'm a little bit out of sync with Boost.Asio changes. It looks like there are two Executor concepts - Networking TS Executor and Executors TS Executor. And they are not compatible with each other. I think I should learn more about this situation. Anyway, thanks for your try. I think this is a good point to start with. |
You're right. The changelog even mentions a solution regarding the polymorphic executor, but I don't think requiring the user to define
Sorry for being of so little help, I just hoped it would be a quick fix, but turns out it wasn't -- and with 1.73 being ok for my purpose, I didn't really want to spend the time to deep-dive into a completely new execution model. |
Well, looks like we need to define |
There is some issue with executors in latest Boost.Asio version. Looks like the problem is that the default executor now is a specialization of
boost::asio::any_executor
template which is incompatible withboost::asio::executor
as they model the different Executor concepts. Looks like the problem is inresource_pool
library - https://github.com/elsid/resource_pool/blob/6a4074465cc672fc1999035ef3e851d7c250134c/include/yamail/resource_pool/async/detail/pool_impl.hpp#L105The text was updated successfully, but these errors were encountered: