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
Reflect changes in boost::asio released in Boost 1.66. #428
Reflect changes in boost::asio released in Boost 1.66. #428
Conversation
I think that few boost versions should be supported backwards, if there is not much difference. Changing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first this should compile with CI and backward compatibility should be retained.
There is already code suggested for this in PR #285 with compatibility for older Boost. |
@Raphnalor so if you can test it and put it in this PR I'll be happy to accept it. |
7b15956
to
75276d5
Compare
The service template parameters are disabled by default for now. Use BOOST_ASIO_ENABLE_OLD_SERVICES macro to enable the old interface.
75276d5
to
f6f09a3
Compare
I've fixed compatibility with older Boost versions. |
Could someone press the "merge" button? It's not active for me. |
Does this fix all compilation issues with boost 1.66? |
I was able to build VCMI with boost 1.66 on Windows without errors using this fix. There were a lot of warnings, they seem not to be related to boost 1.66, but I am not sure. And I haven't tested compilation on Linux. |
I'm compiling it now. |
It works. |
@Raphnalor merge button is just for team members regardless of "approved" state. |
The service template parameters, and the corresponding classes,
are disabled by default for now. For example,
basic_socket<Protocol, SocketService> => basic_socket