Workaround broken [[deprecated]] in PGI compiler

- similar to Intel and NVCC, add workaround for PGI compiler
This commit is contained in:
Pramod Kumbhar 2020-03-08 00:20:54 +01:00
parent ce00979152
commit 265c93684b

View File

@ -147,8 +147,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