From 4623f8aff2ff16edf4a112230dfed2af95c6e9d2 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 23 Feb 2026 17:56:41 +0100 Subject: [PATCH] explicitly set "std=gnu17" we *rely* on a bunch of gnu extensions so its better to explicitly set this yes in theory we fully comply with c23/gnu23 and saturn compiles fine under that, but since its still fairly new theres alot of maschines that still dont support it :chaosleep: --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index 0456990f3..be4f995db 100644 --- a/src/Makefile +++ b/src/Makefile @@ -295,6 +295,7 @@ opts+=$(debug_opts) opts+=$(foreach v,$(passthru_opts),$(if $($(v)),-D$(v))) +CWFLAGS+=-std=gnu17 CXXFLAGS+=-std=c++17 # force c17 for c++ since most vpss run older ubuntu versions with old compilers opts+=$(WFLAGS) $(CFLAGS)