Skip to content

support boost 1.87 #1815

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

Open
miyanyan opened this issue Jan 18, 2025 · 5 comments
Open

support boost 1.87 #1815

miyanyan opened this issue Jan 18, 2025 · 5 comments

Comments

@miyanyan
Copy link

hi, asio removed some previously deprecated facilities, see https://www.boost.org/doc/libs/1_87_0/doc/html/boost_asio/history.html

I found this when I update vcpkg's boost to 1.87

I can create a pr but I don't know what is the minimum boost version you support

if only support boost>=1.66.0(vcpkg's boost version start from 1.66.0), the changes will be easier

@Lord-Kamina
Copy link

I wish you better luck than the other stale issues on this topic which have been stale for 4 years,

#1323

@dcriv
Copy link

dcriv commented Apr 1, 2025

@miyanyan
Copy link
Author

miyanyan commented Apr 1, 2025

There is this in progress meanwhile: https://github.com/dcriv/cpprestsdk/tree/support_boost_1.87_%231815

It seems should support boost >= 1.58 in this comment #1339 (comment)

so some functions like asio::post should not be used directly, and this requires a lot of work

@jmarrec
Copy link

jmarrec commented Apr 3, 2025

The boost >= 1.58 in #1339 (comment) was because of Ubuntu 16.04, which is officially EOL since April 30th 2021.
Ubuntu 18.04 is EOL since 31 May 2023.

So I don't think there's a need to support such old versions

here's a table I put together that lists the EOL + Boost version in launchpad

Ubuntu Codename EOL Boost
16.04 Xenial 2021-04-30 1.58.0
18.04 Bionic 2023-05-31 1.65.1
20.04 Focal June 2025 1.71.0
22.04 Jammy April 2027 1.74.0
24.04 Noble April 2029 1.83.0

If I'm understanding correctly, boost 1.66.0+ has these free functions: boostorg/asio@b60e92b

@miyanyan
Copy link
Author

miyanyan commented Apr 6, 2025

The boost >= 1.58 in #1339 (comment) was because of Ubuntu 16.04, which is officially EOL since April 30th 2021. Ubuntu 18.04 is EOL since 31 May 2023.

So I don't think there's a need to support such old versions

If I'm understanding correctly, boost 1.66.0+ has these free functions: [boostorg/asio@b60e92b](boostorg/asio@b60e92b

Only 1.66+ versions supported is better, but the maintainers may not approve such pr ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants