Merge pull request #906 from TManhente/intel_suppress_fix

Fix  GSL_SUPPRESS definition on Intel C++ Compiler
This commit is contained in:
Jordan Maples [MSFT] authored and GitHub committed 2020-08-05 15:35:26 -07:00
commit f8d9f2e2e3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@
#if defined(__clang__)
#define GSL_SUPPRESS(x) [[gsl::suppress("x")]]
#else
#if defined(_MSC_VER)
#if defined(_MSC_VER) && ! defined(__INTEL_COMPILER)
#define GSL_SUPPRESS(x) [[gsl::suppress(x)]]
#else
#define GSL_SUPPRESS(x)
+1 -1
View File
@@ -24,7 +24,7 @@
#if defined(__clang__)
#define GSL_SUPPRESS(x) [[gsl::suppress("x")]]
#else
#if defined(_MSC_VER)
#if defined(_MSC_VER) && ! defined(__INTEL_COMPILER)
#define GSL_SUPPRESS(x) [[gsl::suppress(x)]]
#else
#define GSL_SUPPRESS(x)