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
// Workaround broken [[deprecated]] in the Intel compiler and NVCC.
#if defined(__INTEL_COMPILER) || FMT_NVCC
// Workaround broken [[deprecated]] in the Intel compiler, PGI compiler and NVCC.
#if defined(__INTEL_COMPILER) || defined(__PGI) || FMT_NVCC
# define FMT_DEPRECATED_ALIAS
#else
# define FMT_DEPRECATED_ALIAS FMT_DEPRECATED

Loading…
Cancel
Save