From 33f5d90fcf54917e365d9ad4357929a91c31f701 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Wed, 26 Jan 2011 21:13:38 +0100
Subject: Added -Werror compile flag.


diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 75129b7..e2d46c5 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -163,7 +163,7 @@ if env["warnings"] :
 	if env["PLATFORM"] == "win32" :
 		env.Append(CCFLAGS = ["/Wall"])
 	else :
-		env.Append(CXXFLAGS = ["-Wextra", "-Wall", "-Wnon-virtual-dtor", "-Wundef", "-Wold-style-cast", "-Wno-long-long", "-Woverloaded-virtual", "-Wfloat-equal", "-Wredundant-decls"])
+		env.Append(CXXFLAGS = ["-Werror", "-Wextra", "-Wall", "-Wnon-virtual-dtor", "-Wundef", "-Wold-style-cast", "-Wno-long-long", "-Woverloaded-virtual", "-Wfloat-equal", "-Wredundant-decls"])
 		gccVersion = env["CCVERSION"].split(".")
 		if gccVersion >= ["4", "5", "0"] :
 			env.Append(CCFLAGS = ["-Wlogical-op"])
-- 
cgit v0.10.2-6-g49f6