]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
damn, revert the accidental change to makefile.inc
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Jan 2009 14:04:37 +0000 (14:04 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Jan 2009 14:04:37 +0000 (14:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8686 d7cf8633-e32d-0410-b094-e92efae38249

builddate.c
makefile.inc

index 912252b1146bd28f6d173a48aa83a2d9e21feafa..b7b53519ae65d2eecf9a155d4b73a1415fcd6770 100644 (file)
@@ -1,7 +1,7 @@
 #define STRINGIFY2(arg) #arg
 #define STRINGIFY(arg) STRINGIFY2(arg)
 
-char *buildstring = __TIME__ " " __DATE__
+const char *buildstring = __TIME__ " " __DATE__
 #ifdef SVNREVISION
 " " STRINGIFY(SVNREVISION)
 #endif
index 99a66ad1942b9092e6e517955fea02d5bfc0aea2..5abd9fc855c007068db88409e0e5fb88da1dff6a 100644 (file)
@@ -161,7 +161,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_PRELOAD) $(CFLAGS_FS) -Wall -Wsign-compare
+CFLAGS_COMMON=$(CFLAGS_MAKEDEP) $(CFLAGS_PRELOAD) $(CFLAGS_FS) -Wall -Wsign-compare -Wdeclaration-after-statement
 CFLAGS_DEBUG=-ggdb
 CFLAGS_PROFILE=-g -pg -ggdb
 CFLAGS_RELEASE=