lib/fmt/meson.build: suppress -Warray-bounds with GCC 14

The bug is still present in GCC 14.
This commit is contained in:
Max Kellermann 2024-08-30 12:48:29 +02:00
parent 2809db8b40
commit ed755f04e9
1 changed files with 1 additions and 1 deletions

View File

@ -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