Skip to content

Commit 4b960c3

Browse files
committed
build: fix incorrect g++ warning message
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: #47667 PR-URL: #51695 Reviewed-By: Ruy Adorno <ruyadorno@google.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent c7f3b9e commit 4b960c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ def check_compiler(o):
10571057
if not ok:
10581058
warn(f'failed to autodetect C++ compiler version (CXX={CXX})')
10591059
elif clang_version < (8, 0, 0) if is_clang else gcc_version < (8, 3, 0):
1060-
warn(f'C++ compiler (CXX={CXX}, {version_str}) too old, need g++ 10.1.0 or clang++ 8.0.0')
1060+
warn(f'C++ compiler (CXX={CXX}, {version_str}) too old, need g++ 8.3.0 or clang++ 8.0.0')
10611061

10621062
ok, is_clang, clang_version, gcc_version = try_check_compiler(CC, 'c')
10631063
version_str = ".".join(map(str, clang_version if is_clang else gcc_version))

0 commit comments

Comments
 (0)