From 8dcb5ed070e712263413245ead2a5fb80d27978d Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Tue, 15 Jun 2021 13:57:16 +0200 Subject: [PATCH] fix(sdk): Silence boost warnings --- fairmq/plugins/DDS/DDS.h | 4 +++- fairmq/sdk/DDSEnvironment.cxx | 2 ++ fairmq/sdk/DDSSession.cxx | 6 ++++-- fairmq/sdk/DDSTopology.cxx | 2 ++ fairmq/sdk/Topology.cxx | 4 +++- test/sdk/_dds.cxx | 2 ++ test/sdk/_topology.cxx | 4 +++- 7 files changed, 19 insertions(+), 5 deletions(-) diff --git a/fairmq/plugins/DDS/DDS.h b/fairmq/plugins/DDS/DDS.h index 87e5b5d6..fdea789e 100644 --- a/fairmq/plugins/DDS/DDS.h +++ b/fairmq/plugins/DDS/DDS.h @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (C) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * + * Copyright (C) 2017-2021 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * @@ -14,7 +14,9 @@ #include #include +#define BOOST_BIND_GLOBAL_PLACEHOLDERS #include +#undef BOOST_BIND_GLOBAL_PLACEHOLDERS #include #include diff --git a/fairmq/sdk/DDSEnvironment.cxx b/fairmq/sdk/DDSEnvironment.cxx index 4f48c57b..c5331735 100644 --- a/fairmq/sdk/DDSEnvironment.cxx +++ b/fairmq/sdk/DDSEnvironment.cxx @@ -9,7 +9,9 @@ #include "DDSEnvironment.h" #include +#define BOOST_BIND_GLOBAL_PLACEHOLDERS #include +#undef BOOST_BIND_GLOBAL_PLACEHOLDERS #include #include #include diff --git a/fairmq/sdk/DDSSession.cxx b/fairmq/sdk/DDSSession.cxx index 25946118..02da02ed 100644 --- a/fairmq/sdk/DDSSession.cxx +++ b/fairmq/sdk/DDSSession.cxx @@ -12,13 +12,15 @@ #include #include #include +#define BOOST_BIND_GLOBAL_PLACEHOLDERS #include +#undef BOOST_BIND_GLOBAL_PLACEHOLDERS #include -#include -#include #include #include #include +#include +#include #include #include #include diff --git a/fairmq/sdk/DDSTopology.cxx b/fairmq/sdk/DDSTopology.cxx index c62e6050..07389717 100644 --- a/fairmq/sdk/DDSTopology.cxx +++ b/fairmq/sdk/DDSTopology.cxx @@ -9,7 +9,9 @@ #include "DDSTopology.h" #include +#define BOOST_BIND_GLOBAL_PLACEHOLDERS #include +#undef BOOST_BIND_GLOBAL_PLACEHOLDERS #include #include #include diff --git a/fairmq/sdk/Topology.cxx b/fairmq/sdk/Topology.cxx index 5db81dd2..c911e04e 100644 --- a/fairmq/sdk/Topology.cxx +++ b/fairmq/sdk/Topology.cxx @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (C) 2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * + * Copyright (C) 2019-2021 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * @@ -8,7 +8,9 @@ #include "Topology.h" +#define BOOST_BIND_GLOBAL_PLACEHOLDERS #include +#undef BOOST_BIND_GLOBAL_PLACEHOLDERS namespace fair::mq::sdk { diff --git a/test/sdk/_dds.cxx b/test/sdk/_dds.cxx index 6a420a6b..3fab5a32 100644 --- a/test/sdk/_dds.cxx +++ b/test/sdk/_dds.cxx @@ -8,7 +8,9 @@ #include "Fixtures.h" +#define BOOST_BIND_GLOBAL_PLACEHOLDERS #include +#undef BOOST_BIND_GLOBAL_PLACEHOLDERS namespace { diff --git a/test/sdk/_topology.cxx b/test/sdk/_topology.cxx index 95ac053d..8a15abf0 100644 --- a/test/sdk/_topology.cxx +++ b/test/sdk/_topology.cxx @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (C) 2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * + * Copyright (C) 2019-2021 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * @@ -9,7 +9,9 @@ #include "Fixtures.h" #include +#define BOOST_BIND_GLOBAL_PLACEHOLDERS #include +#undef BOOST_BIND_GLOBAL_PLACEHOLDERS #include #include #include