From: havoc Date: Sun, 14 Jan 2007 09:50:42 +0000 (+0000) Subject: added -Wdeclaration-after-statement to warn about any use of C99 lazy variable declar... X-Git-Tag: xonotic-v0.1.0preview~3718 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b3e8885515ca1f52e46be713d16da7106ca93da7;p=xonotic%2Fdarkplaces.git added -Wdeclaration-after-statement to warn about any use of C99 lazy variable declaration (which is not supported by MSVC) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6686 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile.inc b/makefile.inc index 00daafd5..a853c1d6 100644 --- a/makefile.inc +++ b/makefile.inc @@ -138,7 +138,7 @@ OBJ_SDL= builddate.c sys_sdl.o vid_sdl.o $(OBJ_SND_COMMON) snd_sdl.o cd_sdl.o $( # Compilation -CFLAGS_COMMON=$(CFLAGS_MAKEDEP) $(CFLAGS_FS) -Wall -Wsign-compare +CFLAGS_COMMON=$(CFLAGS_MAKEDEP) $(CFLAGS_FS) -Wall -Wsign-compare -Wdeclaration-after-statement CFLAGS_DEBUG=-ggdb CFLAGS_PROFILE=-g -pg -ggdb CFLAGS_RELEASE=