From b3e8885515ca1f52e46be713d16da7106ca93da7 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 14 Jan 2007 09:50:42 +0000 Subject: [PATCH] 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 --- makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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= -- 2.39.2