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

Do not use deprecated interfaces #14

Open
ClausKlein opened this issue Mar 17, 2021 · 2 comments
Open

Do not use deprecated interfaces #14

ClausKlein opened this issue Mar 17, 2021 · 2 comments

Comments

@ClausKlein
Copy link

ClausKlein commented Mar 17, 2021

The asio lib has an option to disable deprecated interfaces: ASIO_NO_DEPRECATED

This should be use!

bash-3.2$ builddriver make | tee build.log 2>&1
builddriver executing: 'make'
Compilation FAILED in 10.333037 seconds
Number of warnings: 0
Number of errors: 14
Last Error:
  Message: "static_assert failed due to requirement 'sizeof (asio::detail::two_arg_handler_test(asio::detail::rvref(), static_cast<const std::__1::error_code *>(0), static_cast<const unsigned long *>(0))) == 1' "ReadHandler type requirements not met""
  Path: /usr/local/include/asio/ssl/stream.hpp
  Line Number: 865
  Column: 7
For full log, please open: /var/folders/wb/ckvxxgls5db7qyhqq4y5_l1c0000gq/T/build-2i0y4s63.log
bash-3.2$
@ClausKlein ClausKlein changed the title Do not use depicted interfaces Do not use deprecated interfaces Mar 17, 2021
@ClausKlein
Copy link
Author

build-2i0y4s63.log

@ClausKlein
Copy link
Author

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

1 participant