Commit 8c2d5903 authored by Lynn Garren's avatar Lynn Garren
Browse files

ignore intel shadow warning

parent 282ab173
...@@ -113,6 +113,10 @@ void testRandGauss(std::vector<double> const& reference, bool& result) { ...@@ -113,6 +113,10 @@ void testRandGauss(std::vector<double> const& reference, bool& result) {
#pragma GCC diagnostic ignored "-Wshadow" #pragma GCC diagnostic ignored "-Wshadow"
#endif #endif
#endif #endif
#if defined __INTEL_COMPILER
#pragma warning push
#pragma warning disable 1599
#endif
#ifdef __clang__ #ifdef __clang__
#pragma clang diagnostic push #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshadow" #pragma clang diagnostic ignored "-Wshadow"
...@@ -352,6 +356,9 @@ int main() { ...@@ -352,6 +356,9 @@ int main() {
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif
#endif #endif
#if defined __INTEL_COMPILER
#pragma warning pop
#endif
#ifdef __clang__ #ifdef __clang__
#pragma clang diagnostic pop #pragma clang diagnostic pop
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment