summaryrefslogtreecommitdiff
path: root/tools/ci/flags/gccsnapshot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/flags/gccsnapshot.sh')
-rwxr-xr-xtools/ci/flags/gccsnapshot.sh2
1 files changed, 2 insertions, 0 deletions
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"