From b44e1c0e94d477e04e74b912b59f26fa5093ba1d Mon Sep 17 00:00:00 2001
From: Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Date: Tue, 16 Apr 2019 14:29:40 +0200
Subject: [PATCH] Instead of setting the diagnostic value, now using push.

This is because Clang was complaining that the pop command at the
end of the file was not paired with a previous push command.
---
 GaudiPython/src/Lib/AlgDecorators.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GaudiPython/src/Lib/AlgDecorators.cpp b/GaudiPython/src/Lib/AlgDecorators.cpp
index 289947eb85..7834b20ce1 100644
--- a/GaudiPython/src/Lib/AlgDecorators.cpp
+++ b/GaudiPython/src/Lib/AlgDecorators.cpp
@@ -22,7 +22,7 @@
 // Disable warnings on gcc
 // ============================================================================
 #if defined( __GNUC__ )
-#  pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#  pragma GCC diagnostic push ignored "-Wdeprecated-declarations"
 #endif
 // ============================================================================
 /** @file
-- 
GitLab