mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-15 07:40:52 -04:00
Suppress unfixable warning
This commit is contained in:
parent
f5fe849238
commit
99744f8f8f
@ -69,6 +69,10 @@
|
|||||||
// Disable the warning about implicit conversions that may change the sign of
|
// Disable the warning about implicit conversions that may change the sign of
|
||||||
// an integer; silencing it otherwise would require many explicit casts.
|
// an integer; silencing it otherwise would require many explicit casts.
|
||||||
# pragma GCC diagnostic ignored "-Wsign-conversion"
|
# pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||||
|
|
||||||
|
// Disable the warning about nonliteral format strings because we construct
|
||||||
|
// them dynamically when falling back to snprintf for FP formatting.
|
||||||
|
# pragma GCC diagnostic ignored "-Wformat-nonliteral"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# if FMT_CLANG_VERSION
|
# if FMT_CLANG_VERSION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user