diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-03 01:18:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-03 01:18:54 +0300 |
commit | 4d81a2d0d90e8e29431631e5ec30e6bad01b287a (patch) | |
tree | fc749244a41329b84a17a0b486f828fcd36183fb /tools/ci/flags | |
parent | 3eda32548d54efda62a1ae692b89488fda07df79 (diff) | |
download | plus-4d81a2d0d90e8e29431631e5ec30e6bad01b287a.tar.gz plus-4d81a2d0d90e8e29431631e5ec30e6bad01b287a.tar.bz2 plus-4d81a2d0d90e8e29431631e5ec30e6bad01b287a.tar.xz plus-4d81a2d0d90e8e29431631e5ec30e6bad01b287a.zip |
Add new flags into gcc snapshot flags.
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=" |