Workaround broken [[deprecated]] in PGI compiler

- similar to Intel and NVCC, add workaround for PGI compiler
pull/1463/head
Pramod Kumbhar 6 years ago
parent 67561f97ec
commit ccd0aa5b0f

@ -139,8 +139,8 @@
# endif # endif
#endif #endif
// Workaround broken [[deprecated]] in the Intel compiler and NVCC. // Workaround broken [[deprecated]] in the Intel compiler, PGI compiler and NVCC.
#if defined(__INTEL_COMPILER) || FMT_NVCC #if defined(__INTEL_COMPILER) || defined(__PGI) || FMT_NVCC
# define FMT_DEPRECATED_ALIAS # define FMT_DEPRECATED_ALIAS
#else #else
# define FMT_DEPRECATED_ALIAS FMT_DEPRECATED # define FMT_DEPRECATED_ALIAS FMT_DEPRECATED

Loading…
Cancel
Save