Commit 981797f0 authored by medithe's avatar medithe Committed by Victor Zverovich

Get rid of implicit-fallthrough warn. in GCC 7 and 8

This change enables FMT_FALLLTHROUGH also for GCC-Compilers in the versions 7 and 8.
parent 21177757
......@@ -630,6 +630,8 @@ FMT_FUNC void grisu2_prettify(char *buffer, size_t &size, int exp,
#if FMT_CLANG_VERSION
# define FMT_FALLTHROUGH [[clang::fallthrough]];
#elif FMT_GCC_VERSION >= 700
# define FMT_FALLTHROUGH [[gnu::fallthrough]];
#else
# define FMT_FALLTHROUGH
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment