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

boost::log does not build with -DBOOST_ASIO_NO_DEPRECATED #59

kivadiu opened this Issue Aug 2, 2018 · 0 comments


None yet
1 participant

kivadiu commented Aug 2, 2018

The library uses boost::asio but did not update to the new ASIO API. For example io_service -> io_context.
For example:

libs/log/src/syslog_backend.cpp:300:52: error: expected « ) » before « & » token
         explicit syslog_udp_socket(asio::io_service& service, asio::ip::udp const& protocol, asio::ip::udp::endpoint const& local_address) :
                                   ~                ^
libs/log/src/syslog_backend.cpp:332:15: error: « io_service » dans l'espace de noms « boost::asio » ne nomme pas un type
         asio::io_service m_IOService;

The new API was introduced in 1.66.0 which deprecated the old interface.

@Lastique Lastique closed this in a95dc57 Oct 21, 2018

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