From: Matthias Braun Date: Thu, 18 Nov 2004 21:26:54 +0000 (+0000) Subject: use -Wall -Werror in debug mode X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d7967b7fd5c640814f337cba3b48513ae281b48e;p=supertux.git use -Wall -Werror in debug mode SVN-Revision: 2103 --- diff --git a/SConstruct b/SConstruct index 3c4d45719..eab36088c 100644 --- a/SConstruct +++ b/SConstruct @@ -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")