mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-02 23:21:45 +01:00
Fix conversion warnings (#989)
* Fix sign conversion warnings * Ignore unused local typedefs * Remove cast reported as useless on GCC * Remove warning on unused variable * Enable conversion warning checking for pedantic build * Fix sign-conversion warnings in headers
This commit is contained in:
committed by
Victor Zverovich
parent
77a7244804
commit
0bbdca5b8b
@@ -1917,6 +1917,7 @@ TEST(FormatTest, Enum) {
|
||||
|
||||
TEST(FormatTest, EnumFormatterUnambiguous) {
|
||||
fmt::formatter<TestEnum> f;
|
||||
ASSERT_GE(sizeof(f), 0); // use f to avoid compiler warning
|
||||
}
|
||||
|
||||
#if FMT_HAS_FEATURE(cxx_strong_enums)
|
||||
|
||||
Reference in New Issue
Block a user