summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-03 01:18:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-03 01:18:54 +0300
commit4d81a2d0d90e8e29431631e5ec30e6bad01b287a (patch)
treefc749244a41329b84a17a0b486f828fcd36183fb
parent3eda32548d54efda62a1ae692b89488fda07df79 (diff)
downloadmv-4d81a2d0d90e8e29431631e5ec30e6bad01b287a.tar.gz
mv-4d81a2d0d90e8e29431631e5ec30e6bad01b287a.tar.bz2
mv-4d81a2d0d90e8e29431631e5ec30e6bad01b287a.tar.xz
mv-4d81a2d0d90e8e29431631e5ec30e6bad01b287a.zip
Add new flags into gcc snapshot flags.
-rwxr-xr-xtools/ci/flags/gccsnapshot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh
index a64c00872..b9dd28244 100755
--- a/tools/ci/flags/gccsnapshot.sh
+++ b/tools/ci/flags/gccsnapshot.sh
@@ -50,10 +50,13 @@ export CXXFLAGS="${CXXFLAGS} -Wc++1z-compat"
#export CXXFLAGS="${CXXFLAGS} -Wc99-c11-compat"
export CXXFLAGS="${CXXFLAGS} -Wcast-align"
export CXXFLAGS="${CXXFLAGS} -Wcast-qual"
+# +++ enable after. some warnings
+#export CXXFLAGS="${CXXFLAGS} -Wcatch-value=3"
export CXXFLAGS="${CXXFLAGS} -Wchar-subscripts"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wcharacter-truncation"
export CXXFLAGS="${CXXFLAGS} -Wchkp"
+export CXXFLAGS="${CXXFLAGS} -Wclass-memaccess"
export CXXFLAGS="${CXXFLAGS} -Wclobbered"
export CXXFLAGS="${CXXFLAGS} -Wcomment"
export CXXFLAGS="${CXXFLAGS} -Wcomments"
@@ -247,6 +250,7 @@ export CXXFLAGS="${CXXFLAGS} -Wsign-compare"
export CXXFLAGS="${CXXFLAGS} -Wsign-promo"
export CXXFLAGS="${CXXFLAGS} -Wsized-deallocation"
export CXXFLAGS="${CXXFLAGS} -Wsizeof-array-argument"
+export CXXFLAGS="${CXXFLAGS} -Wsizeof-pointer-div"
export CXXFLAGS="${CXXFLAGS} -Wsizeof-pointer-memaccess"
export CXXFLAGS="${CXXFLAGS} -Wstack-protector"
#export CXXFLAGS="${CXXFLAGS} -Wstack-usage="