From 232928b58a82e3f15307deba1ae921ae2960ccc8 Mon Sep 17 00:00:00 2001 From: fanquake Date: Wed, 5 Jun 2024 10:32:44 +0100 Subject: build: no-longer allow GCC-10 in C++20 check Reverts part of fa67f096bdea9db59dd20c470c9e32f3dac5be94, now that we require a minimum of GCC 11. See also: https://github.com/bitcoin/bitcoin/pull/28349#issuecomment-1745143612. --- build-aux/m4/ax_cxx_compile_stdcxx.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-aux/m4/ax_cxx_compile_stdcxx.m4') diff --git a/build-aux/m4/ax_cxx_compile_stdcxx.m4 b/build-aux/m4/ax_cxx_compile_stdcxx.m4 index 8a2df5627f..51a35054d0 100644 --- a/build-aux/m4/ax_cxx_compile_stdcxx.m4 +++ b/build-aux/m4/ax_cxx_compile_stdcxx.m4 @@ -983,7 +983,7 @@ m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_20], [[ #error "This is not a C++ compiler" -#elif __cplusplus < 201709L // Temporary patch on top of upstream to allow g++-10 +#elif __cplusplus < 202002L #error "This is not a C++20 compiler" -- cgit v1.2.3