From 3e8b1e65ff8290500bbdd362f11b5fe4f21151a3 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Wed, 23 Jun 2021 09:50:27 +0200 Subject: [PATCH] Fix boost compiler warnings Work around an issue in boost. https://github.com/boostorg/property_tree/pull/50 --- reco/littrack/cbm/qa/base/CbmLitResultChecker.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reco/littrack/cbm/qa/base/CbmLitResultChecker.cxx b/reco/littrack/cbm/qa/base/CbmLitResultChecker.cxx index 2b0a6b316b..48aed63b06 100644 --- a/reco/littrack/cbm/qa/base/CbmLitResultChecker.cxx +++ b/reco/littrack/cbm/qa/base/CbmLitResultChecker.cxx @@ -9,6 +9,9 @@ */ #include "CbmLitResultChecker.h" +// Add the define statement teporarily to silence the compiler +// warnings till the problem is fixed in boost +#define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 #include <boost/property_tree/json_parser.hpp> #include <iostream> -- GitLab