From 356f2364a683c50409f7dd2694f640727ffabea9 Mon Sep 17 00:00:00 2001 From: Markus Frank <markus.frank@cern.ch> Date: Thu, 1 Sep 2016 18:35:20 +0000 Subject: [PATCH] Remove boost warning. --- DDCore/src/parsers/GrammarsV2.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DDCore/src/parsers/GrammarsV2.h b/DDCore/src/parsers/GrammarsV2.h index c7bd3a19a..fcbc66f58 100644 --- a/DDCore/src/parsers/GrammarsV2.h +++ b/DDCore/src/parsers/GrammarsV2.h @@ -30,7 +30,13 @@ //============================================================================== // Boost: //============================================================================== +#ifdef __GNUC__ +#undef __GNUC__ +#include <boost/spirit/include/qi.hpp> +#define __GNUC__ +#else #include <boost/spirit/include/qi.hpp> +#endif #include <boost/fusion/include/unused.hpp> #include <boost/fusion/include/std_pair.hpp> -- GitLab