From e2104c4fffcf86287f4bc7efbed7b3a29839be76 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 May 2016 22:02:57 +0300 Subject: Add new flags into gcc snapshot ci script. --- tools/ci/flags/gccsnapshot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh index 31556d35f..72514c424 100755 --- a/tools/ci/flags/gccsnapshot.sh +++ b/tools/ci/flags/gccsnapshot.sh @@ -56,6 +56,7 @@ export CXXFLAGS="${CXXFLAGS} -Wconversion-null" export CXXFLAGS="${CXXFLAGS} -Wcoverage-mismatch" export CXXFLAGS="${CXXFLAGS} -Wcpp" export CXXFLAGS="${CXXFLAGS} -Wctor-dtor-privacy" +export CXXFLAGS="${CXXFLAGS} -Wdangling-else" export CXXFLAGS="${CXXFLAGS} -Wdate-time" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wdeclaration-after-statement" @@ -135,6 +136,7 @@ export CXXFLAGS="${CXXFLAGS} -Wlong-long" export CXXFLAGS="${CXXFLAGS} -Wlto-type-mismatch" export CXXFLAGS="${CXXFLAGS} -Wmain" export CXXFLAGS="${CXXFLAGS} -Wmaybe-uninitialized" +export CXXFLAGS="${CXXFLAGS} -Wmemset-elt-size" export CXXFLAGS="${CXXFLAGS} -Wmemset-transposed-args" export CXXFLAGS="${CXXFLAGS} -Wmisleading-indentation" export CXXFLAGS="${CXXFLAGS} -Wmissing-braces" -- cgit v1.2.3-70-g09d2