summaryrefslogtreecommitdiff
path: root/tools/ci/flags/gccsnapshot.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-09 22:02:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-09 22:02:57 +0300
commite2104c4fffcf86287f4bc7efbed7b3a29839be76 (patch)
tree5c59637275e3ae5463ab746dbd2173ce5fc49305 /tools/ci/flags/gccsnapshot.sh
parentc38b90cc8532bb628abb6c28fab5f43000580c5a (diff)
downloadplus-e2104c4fffcf86287f4bc7efbed7b3a29839be76.tar.gz
plus-e2104c4fffcf86287f4bc7efbed7b3a29839be76.tar.bz2
plus-e2104c4fffcf86287f4bc7efbed7b3a29839be76.tar.xz
plus-e2104c4fffcf86287f4bc7efbed7b3a29839be76.zip
Add new flags into gcc snapshot ci script.
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"