From 4d81a2d0d90e8e29431631e5ec30e6bad01b287a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Jul 2017 01:18:54 +0300 Subject: Add new flags into gcc snapshot flags. --- tools/ci/flags/gccsnapshot.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/ci') 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=" -- cgit v1.2.3-70-g09d2