From 9fce469f23693802ff1e8901f7877ecf2c10fcae Mon Sep 17 00:00:00 2001 From: Robert Roland Date: Tue, 3 Feb 2026 17:43:38 -0800 Subject: [PATCH] Fixes build problems on gcc 15 GCC 15 changes the C language standard to gnu23, and VOC compiles just fine on gnu11. Tested against GCC 15 and GCC 14. --- src/tools/make/configure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/make/configure.c b/src/tools/make/configure.c index 79059bd7..258a1b4e 100644 --- a/src/tools/make/configure.c +++ b/src/tools/make/configure.c @@ -126,7 +126,7 @@ void determineOS() { #define optimize "" // " -O1" // FIXME ignoring warning floods that possibly are problems -#define ignore_gcc_warning_flood " -Wno-stringop-overflow" +#define ignore_gcc_warning_flood " -Wno-stringop-overflow -std=gnu11" #define ignore_clang_warning_flood " -Wno-deprecated-non-prototype" void determineCCompiler() {