From bae356498ecb739739b025f6729fe63db2e842ed Mon Sep 17 00:00:00 2001
From: Martin Bauer <martin.bauer@fau.de>
Date: Thu, 7 Mar 2019 16:03:36 +0100
Subject: [PATCH] generated sweeps for walberla: ignore intel shadow warnings

---
 templates/Sweep.tmpl.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/templates/Sweep.tmpl.cpp b/templates/Sweep.tmpl.cpp
index 75e7d41..d89dbb8 100644
--- a/templates/Sweep.tmpl.cpp
+++ b/templates/Sweep.tmpl.cpp
@@ -42,6 +42,11 @@
 #   pragma GCC diagnostic ignored "-Wunused-variable"
 #endif
 
+#if ( defined WALBERLA_CXX_COMPILER_IS_INTEL )
+#pragma warning push
+#pragma warning( disable :  1599 )
+#endif
+
 using namespace std;
 
 namespace walberla {
@@ -84,3 +89,7 @@ void {{class_name}}::runOnCellInterval( const shared_ptr<StructuredBlockStorage>
 #if ( defined WALBERLA_CXX_COMPILER_IS_GNU ) || ( defined WALBERLA_CXX_COMPILER_IS_CLANG )
 #   pragma GCC diagnostic pop
 #endif
+
+#if ( defined WALBERLA_CXX_COMPILER_IS_INTEL )
+#pragma warning pop
+#endif
-- 
GitLab