diff options
Diffstat (limited to 'tools/ci/flags')
-rwxr-xr-x | tools/ci/flags/gccsnapshot.sh | 4 |
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=" |