From 28ad1bc558a313a972568caf7fc49ba26029a083 Mon Sep 17 00:00:00 2001 From: sago007 Date: Sun, 27 Nov 2016 21:21:26 +0100 Subject: [PATCH] Specified C version in Makefile.OpenArena. It is specified to "gnu11" at the moment. That is the default in gcc 5+. Travis uses 4.9 (uses gnu90). The exact choice may depend on what fromhell uses for compiling. I prefer going for gnu11. Note that the choices without gnu-extensions are all broken and have always been so. --- Makefile.OpenArena | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.OpenArena b/Makefile.OpenArena index 5ad6b15f..c8608de4 100644 --- a/Makefile.OpenArena +++ b/Makefile.OpenArena @@ -49,6 +49,8 @@ GLSL_TEXTURES =1 # for shaders on models, leifxdither, etc GLSL_BACKEND =1 # for the entire backend. +#Possible values "gnu90", "gnu99" and "gnu11". Note that the engine uses gnu-extensions. gnu90 is broken in the commit where this message is added. +CFLAGS+="-std=gnu11" # You can change these although you probably don't need to