Fix warnings on older GCC, take 2.

This commit is contained in:
Victor Zverovich 2014-02-15 10:39:41 -08:00
parent ff0d5d1771
commit db2cf61cde

View File

@ -117,7 +117,7 @@ const char fmt::internal::DIGITS[] =
"6061626364656667686970717273747576777879" "6061626364656667686970717273747576777879"
"8081828384858687888990919293949596979899"; "8081828384858687888990919293949596979899";
FMT_GCC_EXTENSION const uint64_t fmt::internal::POWERS_OF_10[] = { const uint64_t fmt::internal::POWERS_OF_10[] = {
0, 0,
10, 10,
100, 100,
@ -128,16 +128,16 @@ FMT_GCC_EXTENSION const uint64_t fmt::internal::POWERS_OF_10[] = {
10000000, 10000000,
100000000, 100000000,
1000000000, 1000000000,
10000000000ull, ULongLong(1000000000) * 10,
100000000000ull, ULongLong(1000000000) * 100,
1000000000000ull, ULongLong(1000000000) * 1000,
10000000000000ull, ULongLong(1000000000) * 10000,
100000000000000ull, ULongLong(1000000000) * 100000,
1000000000000000ull, ULongLong(1000000000) * 1000000,
10000000000000000ull, ULongLong(1000000000) * 10000000,
100000000000000000ull, ULongLong(1000000000) * 100000000,
1000000000000000000ull, ULongLong(1000000000) * 1000000000,
10000000000000000000ull ULongLong(1000000000) * 10000000000
}; };
void fmt::internal::ReportUnknownType(char code, const char *type) { void fmt::internal::ReportUnknownType(char code, const char *type) {