You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is mainly intended as advance notice. Boost 1.87.0 release is planned for December 11.
Setup Details
Homebrew build environment. Shouldn't be OS/arch specific. CI hit this on macOS 13-14 (x86_64), macOS 13-15 (arm64) and Ubuntu 22.04 (x86_64).
Expected Behavior
Successful build.
Actual Behaviour
Compilation fails with errors like:
host/lib/deps/rpclib/include/rpc/detail/async_writer.h:22:31: error: no type named 'io_service' in namespace 'boost::asio'
22 | async_writer(boost::asio::io_service *io,
| ~~~~~~~~~~~~~^
Steps to reproduce the problem
Easiest way to reproduce may using CXXFLAGS=-DBOOST_ASIO_NO_DEPRECATED on Boost 1.66.0 - 1.86.0
An identical reproduction would be building recent 1.87.0.beta1.
Additional Information
Updating Boost minimum to 1.66.0 should allow replacing most/all deprecated APIs. If older Boost support is needed, then will require various #if BOOST_VERSION checks to support.
The text was updated successfully, but these errors were encountered:
@cho-m Thanks again for reporting. We just finished an internal review of the required changes, and they will go live soon. Next time we push UHD public, the master branch will have this fix, as will the next stable release of UHD.
We did in fact increase the minimum Boost version to 1.66, as you hinted.
Issue Description
While testing the beta of upcoming Boost 1.87.0 in Homebrew (Homebrew/homebrew-core#198115), UHD failed to build due to using deprecated Boost Asio APIs that were removed, e.g. boostorg/asio@ec0908c
uhd/host/lib/deps/rpclib/include/rpc/detail/async_writer.h
Line 22 in 635ad36
This issue is mainly intended as advance notice. Boost 1.87.0 release is planned for December 11.
Setup Details
Homebrew build environment. Shouldn't be OS/arch specific. CI hit this on macOS 13-14 (x86_64), macOS 13-15 (arm64) and Ubuntu 22.04 (x86_64).
Expected Behavior
Successful build.
Actual Behaviour
Compilation fails with errors like:
Steps to reproduce the problem
Easiest way to reproduce may using
CXXFLAGS=-DBOOST_ASIO_NO_DEPRECATED
on Boost 1.66.0 - 1.86.0An identical reproduction would be building recent 1.87.0.beta1.
Additional Information
Updating Boost minimum to 1.66.0 should allow replacing most/all deprecated APIs. If older Boost support is needed, then will require various
#if BOOST_VERSION
checks to support.The text was updated successfully, but these errors were encountered: