diff --git a/include/fmt/core.h b/include/fmt/core.h index 0e6422d9..b14fa476 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -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