]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Comply with ISO C11. Engine will now compile with -pedantic, w/o extra warnings
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 Jun 2020 05:10:48 +0000 (05:10 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 Jun 2020 05:10:48 +0000 (05:10 +0000)
commit2f045f0f49a1f71b07c9f5d640d63f467997edec
tree3bc21019c5f64c93d351f90a17e3374007abadaf
parenta6b833ae7c75a64909343e661d87cd6364a7abd3
Comply with ISO C11. Engine will now compile with -pedantic, w/o extra warnings

But don't actually use -std=c11 because computed gotos is a gcc
extension that makes the QCVM 30 percent faster in all situations.
c11 obviously disables gcc extensions. But this is a nice thing to
achieve as far as portability is concerned.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12756 d7cf8633-e32d-0410-b094-e92efae38249
16 files changed:
common.h
csprogs.c
gl_backend.c
makefile.inc
model_shared.c
mvm_cmds.c
progsvm.h
prvm_cmds.c
prvm_edict.c
prvm_exec.c
render.h
svvm_cmds.c
sys_linux.c
sys_sdl.c
vid_sdl.c
zone.c