From: Roland Schulz Date: Fri, 8 Mar 2019 15:52:29 +0000 (-0800) Subject: Fix ICC warnings X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=288a8e1e8045a9909696a9bc404a18e52e82d01d;p=alexxy%2Fgromacs.git Fix ICC warnings Change-Id: I5170eacf9ac7590d2d72dbb1dac3316a1b2e8ab0 --- diff --git a/src/external/tinyxml2/tinyxml2.cpp b/src/external/tinyxml2/tinyxml2.cpp index e53ac5691c..aa67b48ddd 100755 --- a/src/external/tinyxml2/tinyxml2.cpp +++ b/src/external/tinyxml2/tinyxml2.cpp @@ -30,7 +30,7 @@ distribution. # include #endif -#if defined(__GNUC__) && __GNUC__>=7 +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && __GNUC__>=7 #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" #endif diff --git a/src/external/tng_io/external/zlib/inflate.c b/src/external/tng_io/external/zlib/inflate.c index 09ee0bcadd..d51f4646e1 100644 --- a/src/external/tng_io/external/zlib/inflate.c +++ b/src/external/tng_io/external/zlib/inflate.c @@ -91,7 +91,7 @@ # endif #endif -#if defined(__GNUC__) && __GNUC__>=7 +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && __GNUC__>=7 #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" #endif