Workaround broken [[deprecated]] in PGI compiler
- similar to Intel and NVCC, add workaround for PGI compiler
This commit is contained in:
parent
ce00979152
commit
265c93684b
@ -147,8 +147,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…
Reference in New Issue
Block a user