[vala/staging: 6/6] tests: Enable -Werror=format-security



commit 00f35643d5429929b1ae5f86660377d79c30281d
Author: Jürg Billeter <j bitron ch>
Date:   Tue Nov 1 19:18:36 2016 +0100

    tests: Enable -Werror=format-security

 tests/testrunner.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testrunner.sh b/tests/testrunner.sh
index 0513905..80a72fb 100755
--- a/tests/testrunner.sh
+++ b/tests/testrunner.sh
@@ -29,7 +29,7 @@ vapidir=$topsrcdir/vapi
 export G_DEBUG=fatal_warnings
 
 VALAC=$topbuilddir/compiler/valac$EXEEXT
-VALAFLAGS="--vapidir $vapidir --disable-warnings --main main --save-temps -X -g -X -O0 -X -pipe -X -lm -X 
-Werror=return-type -X -Werror=init-self -X -Werror=implicit -X -Werror=sequence-point -X -Werror=return-type 
-X -Werror=uninitialized -X -Werror=pointer-arith -X -Werror=int-to-pointer-cast -X 
-Werror=pointer-to-int-cast"
+VALAFLAGS="--vapidir $vapidir --disable-warnings --main main --save-temps -X -g -X -O0 -X -pipe -X -lm -X 
-Werror=return-type -X -Werror=init-self -X -Werror=implicit -X -Werror=sequence-point -X -Werror=return-type 
-X -Werror=uninitialized -X -Werror=pointer-arith -X -Werror=int-to-pointer-cast -X 
-Werror=pointer-to-int-cast -X -Wformat -X -Werror=format-security"
 VAPIGEN=$topbuilddir/vapigen/vapigen$EXEEXT
 VAPIGENFLAGS="--vapidir $vapidir"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]