Skip to content

Conversation

@berrange
Copy link

In boost 1.87 the (long deprecated) asio::io_service type was dropped. To fix this, re-add the compat typedef in qgs code

In boost 1.87 the asio::deadline_timer type was deprecated. To fix this add an explicit #include of the deadline_timer header.

This should retain compat with both old and new Boost versions

jwakely and others added 2 commits January 15, 2026 14:02
The asio::io_service type was deprecated since 1.66 in 2017,
with asio::io_context being its drop-in replacement.

Release 1.87 finally dropped the back-compat support for
asio::io_service entirely.

To retain compat with old boost this change conditionally
re-adds the compat definition for asio::io_service.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
The asio::deadline_timer was deprecated in 1.89 and as a result
the deadline_timer.hpp file is no longer implicitly included by
asio.hpp.

To retain compat with old and new boost the code must explicitly
include the deadline_timer.hpp

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
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

Successfully merging this pull request may close these issues.

2 participants