Workaround broken fallthrough attribute in the PGI compiler (#1583)
This commit is contained in:
parent
ee2b828b9a
commit
941d5e147a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user