forked from fmtlib/fmt
Workaround broken fallthrough attribute in the PGI compiler (#1583)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user