Author: loonycyborg
Date: Mon Jul  7 11:31:08 2008
New Revision: 27809

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27809&view=rev
Log:
Pass -Wall -Wno-unused -Wno-sign-compare in all build variants.

Modified:
    trunk/SConstruct

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=27809&r1=27808&r2=27809&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Mon Jul  7 11:31:08 2008
@@ -248,8 +248,9 @@
 if env['static']:
     env.AppendUnique(LINKFLAGS = "-all-static")
 
+env.AppendUnique(CXXFLAGS = Split("-W -Wall -Wno-unused -Wno-sign-compare 
-ansi"))
 if env['strict']:
-    env.AppendUnique(CXXFLAGS = Split("-W -Wall -Werror -Wno-unused 
-Wno-sign-compare"))
+    env.AppendUnique(CXXFLAGS = "-Werror")
 
 if env['gui'] == 'tiny':
     env.Append(CPPDEFINES = "USE_TINY_GUI")
@@ -289,8 +290,8 @@
 
 binaries = Split("wesnoth wesnoth_editor wesnothd cutter exploder campaignd 
test")
 builds = {
-    "debug"   : dict(CXXFLAGS = Split("-O0 -DDEBUG -ggdb3 -W -Wall -ansi")),
-    "release" : dict(CXXFLAGS = Split("-O2 -ansi -Wall")),
+    "debug"   : dict(CXXFLAGS = Split("-O0 -DDEBUG -ggdb3")),
+    "release" : dict(CXXFLAGS = "-O2"),
     "profile" : dict(CXXFLAGS = "-pg", LINKFLAGS = "-pg")
     }
 build = env["build"]


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to