use -Wall -Werror in debug mode
authorMatthias Braun <matze@braunis.de>
Thu, 18 Nov 2004 21:26:54 +0000 (21:26 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 18 Nov 2004 21:26:54 +0000 (21:26 +0000)
SVN-Revision: 2103

SConstruct

index 3c4d457..eab3608 100644 (file)
@@ -86,7 +86,7 @@ else:
 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")