diff --git a/include/fmt/format.h b/include/fmt/format.h index 16b77fa5..537a80ce 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -66,7 +66,7 @@ #if __cplusplus == 201103L || __cplusplus == 201402L # if defined(__clang__) # define FMT_FALLTHROUGH [[clang::fallthrough]] -# elif FMT_GCC_VERSION >= 700 +# elif FMT_GCC_VERSION >= 700 && !defined(__PGI) # define FMT_FALLTHROUGH [[gnu::fallthrough]] # else # define FMT_FALLTHROUGH