From bdc5602244bde11ac2f2245b1e0fc8ac57a16c64 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Jul 2024 15:44:42 +0200 Subject: [PATCH] meson.build: update the required GCC/clang versions --- meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 5c4fba3c8..b27f9f1e1 100644 --- a/meson.build +++ b/meson.build @@ -98,10 +98,10 @@ version_cxx = vcs_tag(input: 'src/GitVersion.cxx', output: 'GitVersion.cxx') compiler = meson.get_compiler('cpp') c_compiler = meson.get_compiler('c') -if compiler.get_id() == 'gcc' and compiler.version().version_compare('<8') - warning('Your GCC version is too old. You need at least version 8.') -elif compiler.get_id() == 'clang' and compiler.version().version_compare('<7') - warning('Your clang version is too old. You need at least version 7.') +if compiler.get_id() == 'gcc' and compiler.version().version_compare('<10') + warning('Your GCC version is too old. You need at least version 10.') +elif compiler.get_id() == 'clang' and compiler.version().version_compare('<11') + warning('Your clang version is too old. You need at least version 11.') endif version_conf = configuration_data()