diff options
-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" |