forked from microsoft/GSL
Merge pull request #906 from TManhente/intel_suppress_fix
Fix GSL_SUPPRESS definition on Intel C++ Compiler
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
#define GSL_SUPPRESS(x) [[gsl::suppress("x")]]
|
#define GSL_SUPPRESS(x) [[gsl::suppress("x")]]
|
||||||
#else
|
#else
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER) && ! defined(__INTEL_COMPILER)
|
||||||
#define GSL_SUPPRESS(x) [[gsl::suppress(x)]]
|
#define GSL_SUPPRESS(x) [[gsl::suppress(x)]]
|
||||||
#else
|
#else
|
||||||
#define GSL_SUPPRESS(x)
|
#define GSL_SUPPRESS(x)
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
#define GSL_SUPPRESS(x) [[gsl::suppress("x")]]
|
#define GSL_SUPPRESS(x) [[gsl::suppress("x")]]
|
||||||
#else
|
#else
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER) && ! defined(__INTEL_COMPILER)
|
||||||
#define GSL_SUPPRESS(x) [[gsl::suppress(x)]]
|
#define GSL_SUPPRESS(x) [[gsl::suppress(x)]]
|
||||||
#else
|
#else
|
||||||
#define GSL_SUPPRESS(x)
|
#define GSL_SUPPRESS(x)
|
||||||
|
Reference in New Issue
Block a user