diff --git a/templates/Sweep.tmpl.cpp b/templates/Sweep.tmpl.cpp index 75e7d41ec5cc1d54aa8e9adf8b0abf9d0376b841..d89dbb8c16ee5703761b048f51a0a43ec25671fd 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