Author: loonycyborg
Date: Sat Apr 25 21:06:08 2009
New Revision: 35210
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35210&view=rev
Log:
Disable -Wno-unused -Wno-sign-compare. Pass -Wno-unused-parameter on strict
compiles.
Modified:
trunk/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=35210&r1=35209&r2=35210&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Sat Apr 25 21:06:08 2009
@@ -308,9 +308,9 @@
env.Append(CPPDEFINES = ["HAVE_CONFIG_H"])
if "gcc" in env["TOOLS"]:
- env.AppendUnique(CCFLAGS = Split("-W -Wall -Wno-unused
-Wno-sign-compare"), CFLAGS = ["-std=c99"], CXXFLAGS="-std=c++98")
+ env.AppendUnique(CCFLAGS = Split("-W -Wall"), CFLAGS = ["-std=c99"],
CXXFLAGS="-std=c++98")
if env['strict']:
- env.AppendUnique(CCFLAGS = "-Werror")
+ env.AppendUnique(CCFLAGS = Split("-Werror -Wno-unused-parameter"))
env["OPT_FLAGS"] = "-O2"
env["DEBUG_FLAGS"] = Split("-O0 -DDEBUG -ggdb3")
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits