diff --git a/QuoteGeneration/quote_wrapper/qgs/Makefile b/QuoteGeneration/quote_wrapper/qgs/Makefile index 16dfeacc..00fbf996 100644 --- a/QuoteGeneration/quote_wrapper/qgs/Makefile +++ b/QuoteGeneration/quote_wrapper/qgs/Makefile @@ -16,8 +16,8 @@ QGS_INC = -I$(SGX_SDK)/include \ -I$(TOP_DIR)/qpl/inc \ -I$(TOP_DIR)/quote_wrapper/tdx_quote/inc \ -I$(TOP_DIR)/quote_wrapper/qgs_msg_lib/inc -QGS_CFLAGS = -g -MMD -Werror $(CFLAGS) $(QGS_INC) -QGS_CXXFLAGS = -g -MMD -Werror $(CXXFLAGS) $(QGS_INC) +QGS_CFLAGS = -g -MMD -Werror -Wno-deprecated-declarations -DBOOST_BIND_GLOBAL_PLACEHOLDERS $(CFLAGS) $(QGS_INC) +QGS_CXXFLAGS = -g -MMD -Werror -Wno-deprecated-declarations -DBOOST_BIND_GLOBAL_PLACEHOLDERS $(CXXFLAGS) $(QGS_INC) ifeq ($(CC_NO_LESS_THAN_8), 1) QGS_CFLAGS += -fcf-protection=none QGS_CXXFLAGS += -fcf-protection=none diff --git a/QuoteGeneration/quote_wrapper/qgs/qgs_server.h b/QuoteGeneration/quote_wrapper/qgs/qgs_server.h index f3f5b9f9..b56b2633 100644 --- a/QuoteGeneration/quote_wrapper/qgs/qgs_server.h +++ b/QuoteGeneration/quote_wrapper/qgs/qgs_server.h @@ -34,8 +34,14 @@ #include #include +#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;