From 80509000d35e0b4eccc405280e2b96f3265bc7cc Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Tue, 22 Jun 2021 11:39:18 +0200 Subject: [PATCH] Fix boost compiler warnings Work around an issue in boost. https://github.com/boostorg/property_tree/pull/50 --- core/config/CbmConfigBase.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/config/CbmConfigBase.h b/core/config/CbmConfigBase.h index 0412699466..0c8513cc7a 100644 --- a/core/config/CbmConfigBase.h +++ b/core/config/CbmConfigBase.h @@ -10,6 +10,9 @@ #include <TSystem.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 <cassert> -- GitLab