From 7d5616ea3b009ddc2cb6c82cd1e321147278092f Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 15 Jan 2026 11:23:35 +0000 Subject: [PATCH 1/2] qgs: add compat for boost 1.87 which drops asio::io_service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- QuoteGeneration/quote_wrapper/qgs/qgs_server.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/QuoteGeneration/quote_wrapper/qgs/qgs_server.h b/QuoteGeneration/quote_wrapper/qgs/qgs_server.h index f3f5b9f9..91eb41a4 100644 --- a/QuoteGeneration/quote_wrapper/qgs/qgs_server.h +++ b/QuoteGeneration/quote_wrapper/qgs/qgs_server.h @@ -36,6 +36,11 @@ #include #include +#if BOOST_VERSION >= 108700 +// Asio no longer defines the deprecated io_service alias. +namespace boost { namespace asio { using io_service = io_context; } } +#endif + namespace intel { namespace sgx { namespace dcap { namespace qgs { namespace asio = boost::asio; From 8c2c69af83f350b89fb3086b25f3c4443b60d867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Thu, 15 Jan 2026 12:48:19 +0000 Subject: [PATCH 2/2] qgs: add compat for boost 1.89 which deprecated deadline_timer.hpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- QuoteGeneration/quote_wrapper/qgs/qgs_server.h | 1 + 1 file changed, 1 insertion(+) diff --git a/QuoteGeneration/quote_wrapper/qgs/qgs_server.h b/QuoteGeneration/quote_wrapper/qgs/qgs_server.h index 91eb41a4..b56b2633 100644 --- a/QuoteGeneration/quote_wrapper/qgs/qgs_server.h +++ b/QuoteGeneration/quote_wrapper/qgs/qgs_server.h @@ -34,6 +34,7 @@ #include #include +#include #include #if BOOST_VERSION >= 108700