error: ‘io_service’ in namespace ‘boost::asio’ does not name a type
src/input_common/drivers/udp_client.cpp:116:18: error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did you mean ‘use_service’?
[ 270s] 116 | boost::asio::io_service io_service;
[ 270s] | ^~~~~~~~~~
Boost version 1.88
Repo is at https://git.suyu.dev/suyu/suyu
This is not an asio issue. io_service has been renamed io_context years ago and suyu is looking for boost 1.79. You need to open an issue there.
This is not an asio issue.
io_servicehas been renamedio_contextyears ago and suyu is looking for boost 1.79. You need to open an issue there.
Is here any changelog for this change?
https://github.com/chriskohlhoff/asio/blob/master/asio/src/doc/history.qbk https://www.boost.org/releases/1.87.0/ https://www.boost.org/doc/libs/1_87_0/doc/html/boost_asio/history.html
https://github.com/chriskohlhoff/asio/blob/master/asio/src/doc/history.qbk https://www.boost.org/releases/1.87.0/ https://www.boost.org/doc/libs/1_87_0/doc/html/boost_asio/history.html
I have searched through all these links. There isn't a line saying io_service has been renamed io_context...
I guess it's part of the P0443 implementation from asio 1.17, at which point io_service became an alias for io_context. And this alias was later on removed.
It's in the Asio 1.12.0 / Boost 1.66 changes: https://www.boost.org/doc/libs/1_87_0/doc/html/boost_asio/history.html#boost_asio.history.asio_1_12_0___boost_1_66
Implemented interface changes to reflect the Networking TS (N4656). See the list of new interfaces and, where applicable, the corresponding old interfaces that have been superseded.
https://github.com/chriskohlhoff/asio/blob/master/asio/src/doc/history.qbk https://www.boost.org/releases/1.87.0/ https://www.boost.org/doc/libs/1_87_0/doc/html/boost_asio/history.html
I have searched through all these links. There isn't a line saying io_service has been renamed io_context...
Can take a look at my PR?