From ed755f04e94aa0cf9738622bf1102904d657c31e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 30 Aug 2024 12:48:29 +0200 Subject: [PATCH] lib/fmt/meson.build: suppress -Warray-bounds with GCC 14 The bug is still present in GCC 14. --- src/lib/fmt/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/fmt/meson.build b/src/lib/fmt/meson.build index 87bbea076..26e036405 100644 --- a/src/lib/fmt/meson.build +++ b/src/lib/fmt/meson.build @@ -1,7 +1,7 @@ libfmt = dependency('fmt', version: '>= 9', fallback: ['fmt', 'fmt_dep']) -if compiler.get_id() == 'gcc' and compiler.version().version_compare('>=13') and compiler.version().version_compare('<14') +if compiler.get_id() == 'gcc' and compiler.version().version_compare('>=13') and compiler.version().version_compare('<15') libfmt = declare_dependency( dependencies: libfmt, # suppress bogus GCC 13 warning: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109717