From fa06d6ecec57a449153dbed418f6d880193edead 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 9a3d065f8..642b563e4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -300,6 +300,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)