Skip to content
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

support boost 1.87 #1253

Open
miyanyan opened this issue Jan 17, 2025 · 2 comments
Open

support boost 1.87 #1253

miyanyan opened this issue Jan 17, 2025 · 2 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, if you want update you can use my patch, https://github.com/microsoft/vcpkg/pull/42678/files#diff-8c050938d3e295d388fcb05fd405b5edf99a1935e1d13390e0c39c3962eddc37

@ihsandemir
Copy link
Collaborator

@miyanyan Thanks for the issue. We need to update the min. supported Boost version and probably also need to update the minimum supported C++ language level to 14 to handle the changes.

@miyanyan
Copy link
Author

you can set boost version >= 1.66.0, then most asio functions can use:

forrfc2818_verificationneed:

#if BOOST_ASIO_VERSION >= 103300
namespace boost {
  namespace asio {
    namespace ssl {
      using rfc2818_verification = boost::asio::ssl::host_name_verification;
    }
  }
}

boost-1-87-fix.patch

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

No branches or pull requests

2 participants