about summary refs log tree commit diff
path: root/default.bam
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-10-06 17:01:06 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-10-06 17:01:06 +0000
commitf9162202b0ceb25fae4a0848a4a99dbe1158bd22 (patch)
tree1e6350bb0608f2a599e0a303fcf5b18aab691102 /default.bam
parent449146a2753deb657e0ef641bd6065467ef75322 (diff)
downloadzcatch-f9162202b0ceb25fae4a0848a4a99dbe1158bd22.tar.gz
zcatch-f9162202b0ceb25fae4a0848a4a99dbe1158bd22.zip
fixed some C errors
Diffstat (limited to 'default.bam')
-rw-r--r--default.bam5
1 files changed, 2 insertions, 3 deletions
diff --git a/default.bam b/default.bam
index 64798e5f..decd4540 100644
--- a/default.bam
+++ b/default.bam
@@ -153,7 +153,6 @@ function build(settings)
 		settings.linker.flags = ""
 	end
 
-
 	-- set some platform specific settings
 	settings.cc.includes:add("src")
 	settings.cc.includes:add("src/external/zlib")
@@ -187,9 +186,9 @@ function build(settings)
 	engine_settings = settings:copy()
 	
 	if family == "windows" then
-		engine_settings.cc.flags = "/wd4244 /TP"
+		engine_settings.cc.flags = "/wd4244"
 	else
-		engine_settings.cc.flags = "-Wall -std=c99"
+		engine_settings.cc.flags = "-Wall -pedantic-errors"
 		engine_settings.linker.flags = ""
 	end