From 4b960c3a4a23f74147927b595f822aa5cae0eb63 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Wed, 7 Feb 2024 17:50:41 +0000 Subject: [PATCH] build: fix incorrect g++ warning message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The warning message was inadvertently changed to a newer version of g++ than the one being checked for when a refactor PR was merged to v18.x-staging. Refs: https://github.com/nodejs/node/pull/47667 PR-URL: https://github.com/nodejs/node/pull/51695 Reviewed-By: Ruy Adorno Reviewed-By: Luigi Pinca Reviewed-By: Michaƫl Zasso Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Rafael Gonzaga --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 4638f04b6ae622..82916748fd23c1 100755 --- a/configure.py +++ b/configure.py @@ -1057,7 +1057,7 @@ def check_compiler(o): if not ok: warn(f'failed to autodetect C++ compiler version (CXX={CXX})') elif clang_version < (8, 0, 0) if is_clang else gcc_version < (8, 3, 0): - warn(f'C++ compiler (CXX={CXX}, {version_str}) too old, need g++ 10.1.0 or clang++ 8.0.0') + warn(f'C++ compiler (CXX={CXX}, {version_str}) too old, need g++ 8.3.0 or clang++ 8.0.0') ok, is_clang, clang_version, gcc_version = try_check_compiler(CC, 'c') version_str = ".".join(map(str, clang_version if is_clang else gcc_version))