diff --git a/meson.build b/meson.build index 31c256754..2e3c424d3 100644 --- a/meson.build +++ b/meson.build @@ -143,6 +143,9 @@ test_common_flags = [ # suppress bogus GCC12 warnings in libfmt headers '-Wno-stringop-overflow', + + # libfmt causes this warning due to -ffast-math + '-Wno-nan-infinity-disabled', ] test_global_cxxflags = test_global_common_flags + [