diff --git a/include/fmt/format.h b/include/fmt/format.h index f9d9f683..0f15024c 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -905,7 +905,7 @@ constexpr const char* digits2(size_t value) { // Sign is a template parameter to workaround a bug in gcc 4.8. template constexpr Char sign(Sign s) { -#if !FMT_GCC_VERSION || FMT_GCC_VERSION > 408 +#if !FMT_GCC_VERSION || FMT_GCC_VERSION >= 604 static_assert(std::is_same::value, ""); #endif return static_cast("\0-+ "[s]);