-
Notifications
You must be signed in to change notification settings - Fork 466
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
deprecated buffer_cast has been dropped in boost 1.87.0 #1305
Comments
In trying to fix this based on the boost documentation https://www.boost.org/doc/libs/1_85_0/doc/html/boost_asio/reference/mutable_buffer.html. The following compile error occurs. Previous version of the documentation https://www.boost.org/doc/libs/1_65_0/doc/html/boost_asio/reference/mutable_buffer.html.
error
|
I did some further testing and using Previous buffer_cast code is:
So if the previous code is correct, then the fix is:
I’m happy to raise the PR if this is the case. |
Yes, this looks like the correct (original) solution to me: |
Thanks, I've added the change here 6190041 |
Fixed |
Arch system Boost has been upgraded to 1.87, and some things are deprecated. https://stackoverflow.com/questions/78821440/iterating-over-buffers-in-an-asiostreambuf badaix/snapcast#1305
snapcast 0.29.0 does not compile with boost-1.87.0
snapcast/server/stream_session_ws.cpp
Line 117 in f6ce4f3
This will be the final fix (now that #1310 is queued) to remove all boost 1.87.0 deprecated code.
The text was updated successfully, but these errors were encountered: