diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-10 18:34:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-10 18:34:46 +0300 |
commit | 7789f85902979a3ce1282449af0236079d9925a2 (patch) | |
tree | d3aeb6b4ffc1b3818891bba66a7d7eb7966949ff /tools/ci/flags/gccsnapshot.sh | |
parent | 608dfae22e1b5145210314ca6c7268420dd639c8 (diff) | |
download | mv-7789f85902979a3ce1282449af0236079d9925a2.tar.gz mv-7789f85902979a3ce1282449af0236079d9925a2.tar.bz2 mv-7789f85902979a3ce1282449af0236079d9925a2.tar.xz mv-7789f85902979a3ce1282449af0236079d9925a2.zip |
Add bew flags into gccsnapshot ci.
Diffstat (limited to 'tools/ci/flags/gccsnapshot.sh')
-rwxr-xr-x | tools/ci/flags/gccsnapshot.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh index 198e7cf97..0a14cfb02 100755 --- a/tools/ci/flags/gccsnapshot.sh +++ b/tools/ci/flags/gccsnapshot.sh @@ -18,6 +18,7 @@ export CXXFLAGS="${CXXFLAGS} -Waligned-new=all" export CXXFLAGS="${CXXFLAGS} -Wall" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wampersand" +#export CXXFLAGS="${CXXFLAGS} -Wargument-mismatch" export CXXFLAGS="${CXXFLAGS} -Warray-bounds" # +++ need try it export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2" @@ -28,6 +29,8 @@ export CXXFLAGS="${CXXFLAGS} -Wattributes" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wbad-function-cast" export CXXFLAGS="${CXXFLAGS} -Wbool-compare" +export CXXFLAGS="${CXXFLAGS} -Wbool-operation" +export CXXFLAGS="${CXXFLAGS} -Wbuiltin-declaration-mismatch" export CXXFLAGS="${CXXFLAGS} -Wbuiltin-macro-redefined" #export CXXFLAGS="${CXXFLAGS} -Wc++-compat" #export CXXFLAGS="${CXXFLAGS} -Wc++0x-compat" @@ -81,6 +84,7 @@ export CXXFLAGS="${CXXFLAGS} -Wempty-body" export CXXFLAGS="${CXXFLAGS} -Wendif-labels" export CXXFLAGS="${CXXFLAGS} -Wenum-compare" export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration" +export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined" export CXXFLAGS="${CXXFLAGS} -Wextra" # +++ need fix in future #export CXXFLAGS="${CXXFLAGS} -Wfloat-conversion" @@ -203,6 +207,7 @@ export CXXFLAGS="${CXXFLAGS} -Wpsabi" #export CXXFLAGS="${CXXFLAGS} -Wrealloc-lhs-all" export CXXFLAGS="${CXXFLAGS} -Wredundant-decls" export CXXFLAGS="${CXXFLAGS} -Wreorder" +export CXXFLAGS="${CXXFLAGS} -Wrestrict" export CXXFLAGS="${CXXFLAGS} -Wreturn-local-addr" export CXXFLAGS="${CXXFLAGS} -Wreturn-type" export CXXFLAGS="${CXXFLAGS} -Wscalar-storage-order" |