From d858859d1724fc037129318330f9c5ee5e008a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sat, 7 Jun 2025 09:18:23 -0700 Subject: [PATCH] Set minimum supported version of GLIBC to 2.31.0 (February 1, 2020). --- include/bx/platform.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/bx/platform.h b/include/bx/platform.h index f657893..b43e02e 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -469,6 +469,12 @@ static_assert(!BX_COMPILER_GCC || BX_COMPILER_GCC >= 110000, "\n\n" "\tMinimum supported GCC version is 11.0 (April 27, 2021).\n" "\t\n"); +// https://www.sourceware.org/glibc/wiki/Glibc%20Timeline +static_assert(!BX_CRT_GLIBC || BX_CRT_GLIBC >= 23100, "\n\n" + "\t** IMPORTANT! **\n\n" + "\tMinimum supported GLIBC version is 2.31.0 (February 1, 2020).\n" + "\t\n"); + // https://learn.microsoft.com/en-us/cpp/overview/compiler-versions static_assert(!BX_COMPILER_MSVC || BX_COMPILER_MSVC >= 1935, "\n\n" "\t** IMPORTANT! **\n\n"