Update of /cvsroot/super-tux/supertux
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16638
Modified Files:
SConstruct
Log Message:
use -Wall -Werror in debug mode
Index: SConstruct
===================================================================
RCS file: /cvsroot/super-tux/supertux/SConstruct,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- SConstruct 16 Nov 2004 20:36:42 -0000 1.12
+++ SConstruct 18 Nov 2004 21:26:54 -0000 1.13
@@ -86,7 +86,7 @@
if env['VARIANT'] == "optimize":
env.Append(CXXFLAGS = "-O2 -g")
elif env['VARIANT'] == "debug":
- env.Append(CXXFLAGS = "-O0 -g3")
+ env.Append(CXXFLAGS = "-O0 -g3 -Wall -Werror")
env.Append(CPPDEFINES = { "DEBUG":"1" })
elif env['VARIANT'] == "profile":
env.Append(CXXFLAGS = "-pg -O2")
|