From 1ca840dc84a12056da28faba792e2c9d6bbf9159 Mon Sep 17 00:00:00 2001 From: David Rohr Date: Mon, 2 Mar 2026 20:37:09 +0100 Subject: [PATCH] Fixes for boost 1.90 --- occ/occlib/OccServer.cxx | 7 +++++-- occ/plugin/OccFMQCommon.cxx | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/occ/occlib/OccServer.cxx b/occ/occlib/OccServer.cxx index 347ae878..48c24095 100644 --- a/occ/occlib/OccServer.cxx +++ b/occ/occlib/OccServer.cxx @@ -23,6 +23,9 @@ * Intergovernmental Organization or submit itself to any jurisdiction. */ +#define BOOST_NO_CXX20_HDR_CONCEPTS // TODO: David Rohr: Fix the + // boost::lockfree::queue, must + // not use trivial constructor!!! #include "OccServer.h" @@ -65,7 +68,7 @@ grpc::Status OccServer::EventStream(grpc::ServerContext* context, const occ_pb::EventStreamRequest* request, grpc::ServerWriter* writer) { - boost::uuids::basic_random_generator gen; + boost::uuids::basic_random_generator gen; std::string id = boost::uuids::to_string(gen()); boost::lockfree::queue eventQueue; @@ -100,7 +103,7 @@ grpc::Status OccServer::StateStream(grpc::ServerContext* context, (void) context; (void) request; - boost::uuids::basic_random_generator gen; + boost::uuids::basic_random_generator gen; std::string id = boost::uuids::to_string(gen()); boost::lockfree::queue stateQueue; diff --git a/occ/plugin/OccFMQCommon.cxx b/occ/plugin/OccFMQCommon.cxx index ea457a95..d37ed092 100644 --- a/occ/plugin/OccFMQCommon.cxx +++ b/occ/plugin/OccFMQCommon.cxx @@ -28,6 +28,8 @@ #include "util/Defer.h" #include +#include +#include #include std::string generateSubscriptionId(const std::string& prefix)