mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
Fix warnings on older GCC, take 2.
This commit is contained in:
parent
ff0d5d1771
commit
db2cf61cde
22
format.cc
22
format.cc
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user