meson.build: suppress -Wstringop-overflow due to bogus libfmt warnings

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1536
This commit is contained in:
Max Kellermann 2022-05-24 10:39:17 +02:00
parent bf9ffba4f7
commit 81cde72fd0
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ test_common_flags = [
# clang specific warning options: # clang specific warning options:
'-Wunreachable-code-aggressive', '-Wunreachable-code-aggressive',
'-Wused-but-marked-unused', '-Wused-but-marked-unused',
# suppress bogus GCC12 warnings in libfmt headers
'-Wno-stringop-overflow',
] ]
test_global_cxxflags = test_global_common_flags + [ test_global_cxxflags = test_global_common_flags + [