mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Merge pull request #906 from TManhente/intel_suppress_fix
Fix GSL_SUPPRESS definition on Intel C++ Compiler
This commit is contained in:
commit
f8d9f2e2e3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user