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.
This commit is contained in:
sago007
2016-11-27 21:21:26 +01:00
parent e785563a21
commit 28ad1bc558

View File

@@ -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