From 81cde72fd0ce077acf33a14c229116c761c73b2d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 24 May 2022 10:39:17 +0200 Subject: [PATCH] meson.build: suppress -Wstringop-overflow due to bogus libfmt warnings Closes https://github.com/MusicPlayerDaemon/MPD/issues/1536 --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index d4ea38920..e371c274f 100644 --- a/meson.build +++ b/meson.build @@ -73,6 +73,9 @@ test_common_flags = [ # clang specific warning options: '-Wunreachable-code-aggressive', '-Wused-but-marked-unused', + + # suppress bogus GCC12 warnings in libfmt headers + '-Wno-stringop-overflow', ] test_global_cxxflags = test_global_common_flags + [