From 8f6ef36f7438c96c23c2a749250882ba94036ecb Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 23 Aug 2025 17:55:30 +0800 Subject: [PATCH] hostreqs: Bump minimum GCC version to 5.4 GCC-15 has bumped the C++ standard to C++14, and the required GCC version to 5.4 because 5.3 and earlier may generate some wrong code with C++14 and constexpr (that GCC-15 code base uses). --- chapter02/hostreqs.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 29504f066..4fa09df69 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -74,9 +74,8 @@ - - GCC-5.2 including the C++ + + GCC-5.4 including the C++ compiler, g++ (Versions greater than &gcc-version; are not recommended as they have not been tested). C and C++ standard libraries (with headers) must also be present so the C++ compiler can