diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-05-11 12:17:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-05-11 12:17:36 +0300 |
commit | 4abd70a6b8815479231035dbaba44c33d1325245 (patch) | |
tree | b749becebeb15957583eb4473db3805a558542a1 /tools/ci/flags/gccsnapshot.sh | |
parent | 56fcc6bb89f871b9364fc06f8a6bc7b6f9d61e85 (diff) | |
download | manaverse-4abd70a6b8815479231035dbaba44c33d1325245.tar.gz manaverse-4abd70a6b8815479231035dbaba44c33d1325245.tar.bz2 manaverse-4abd70a6b8815479231035dbaba44c33d1325245.tar.xz manaverse-4abd70a6b8815479231035dbaba44c33d1325245.zip |
Add gcc10 build flags
Also update gcc9 build flags.
Diffstat (limited to 'tools/ci/flags/gccsnapshot.sh')
-rwxr-xr-x | tools/ci/flags/gccsnapshot.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh index 52539b36e..6fbd96ddb 100755 --- a/tools/ci/flags/gccsnapshot.sh +++ b/tools/ci/flags/gccsnapshot.sh @@ -63,11 +63,13 @@ export CXXFLAGS="${CXXFLAGS} -Wchar-subscripts" #export CXXFLAGS="${CXXFLAGS} -Wchkp" export CXXFLAGS="${CXXFLAGS} -Wclass-memaccess" export CXXFLAGS="${CXXFLAGS} -Wclobbered" +export CXXFLAGS="${CXXFLAGS} -Wcomma-subscript" export CXXFLAGS="${CXXFLAGS} -Wcomment" export CXXFLAGS="${CXXFLAGS} -Wcomments" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wcompare-reals" -export CXXFLAGS="${CXXFLAGS} -Wconditionally-supported" +# triggered in opengl +#export CXXFLAGS="${CXXFLAGS} -Wconditionally-supported" # +++ need fix in future #export CXXFLAGS="${CXXFLAGS} -Wconversion" # not for C++ @@ -105,6 +107,7 @@ export CXXFLAGS="${CXXFLAGS} -Wduplicated-cond" export CXXFLAGS="${CXXFLAGS} -Wempty-body" export CXXFLAGS="${CXXFLAGS} -Wendif-labels" export CXXFLAGS="${CXXFLAGS} -Wenum-compare" +export CXXFLAGS="${CXXFLAGS} -Wenum-conversion" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration" export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined" @@ -116,6 +119,7 @@ export CXXFLAGS="${CXXFLAGS} -Wextra-semi" #export CXXFLAGS="${CXXFLAGS} -Wfloat-equal" export CXXFLAGS="${CXXFLAGS} -Wformat=1" export CXXFLAGS="${CXXFLAGS} -Wformat-contains-nul" +export CXXFLAGS="${CXXFLAGS} -Wformat-diag" export CXXFLAGS="${CXXFLAGS} -Wformat-extra-args" # +++ ignoring. probably need use some times #export CXXFLAGS="${CXXFLAGS} -Wformat-nonliteral" @@ -143,6 +147,7 @@ export CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough=5" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-int" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-interface" #export CXXFLAGS="${CXXFLAGS} -Wimplicit-procedure" +export CXXFLAGS="${CXXFLAGS} -Winaccessible-base" #export CXXFLAGS="${CXXFLAGS} -Wincompatible-pointer-types" export CXXFLAGS="${CXXFLAGS} -Winherited-variadic-ctor" export CXXFLAGS="${CXXFLAGS} -Winit-self" @@ -174,6 +179,7 @@ export CXXFLAGS="${CXXFLAGS} -Wmaybe-uninitialized" export CXXFLAGS="${CXXFLAGS} -Wmemset-elt-size" export CXXFLAGS="${CXXFLAGS} -Wmemset-transposed-args" export CXXFLAGS="${CXXFLAGS} -Wmisleading-indentation" +export CXXFLAGS="${CXXFLAGS} -Wmismatched-tags" export CXXFLAGS="${CXXFLAGS} -Wmissing-attributes" export CXXFLAGS="${CXXFLAGS} -Wmissing-braces" export CXXFLAGS="${CXXFLAGS} -Wmissing-declarations" @@ -238,6 +244,8 @@ export CXXFLAGS="${CXXFLAGS} -Wpsabi" #export CXXFLAGS="${CXXFLAGS} -Wrealloc-lhs" #export CXXFLAGS="${CXXFLAGS} -Wrealloc-lhs-all" export CXXFLAGS="${CXXFLAGS} -Wredundant-decls" +export CXXFLAGS="${CXXFLAGS} -Wredundant-move" +export CXXFLAGS="${CXXFLAGS} -Wredundant-tags" export CXXFLAGS="${CXXFLAGS} -Wregister" export CXXFLAGS="${CXXFLAGS} -Wreorder" export CXXFLAGS="${CXXFLAGS} -Wrestrict" @@ -276,6 +284,7 @@ export CXXFLAGS="${CXXFLAGS} -Wstrict-null-sentinel" export CXXFLAGS="${CXXFLAGS} -Wstringop-overflow=4" export CXXFLAGS="${CXXFLAGS} -Wstringop-truncation" #export CXXFLAGS="${CXXFLAGS} -Wstrict-selector-match" +export CXXFLAGS="${CXXFLAGS} -Wstring-compare" export CXXFLAGS="${CXXFLAGS} -Wsubobject-linkage" # fix probably in future #export CXXFLAGS="${CXXFLAGS} -Wsuggest-attribute=cold" @@ -296,6 +305,7 @@ export CXXFLAGS="${CXXFLAGS} -Wswitch" export CXXFLAGS="${CXXFLAGS} -Wswitch-bool" export CXXFLAGS="${CXXFLAGS} -Wswitch-default" export CXXFLAGS="${CXXFLAGS} -Wswitch-enum" +export CXXFLAGS="${CXXFLAGS} -Wswitch-outside-range" export CXXFLAGS="${CXXFLAGS} -Wswitch-unreachable" export CXXFLAGS="${CXXFLAGS} -Wsync-nand" export CXXFLAGS="${CXXFLAGS} -Wsynth" @@ -353,9 +363,11 @@ export CXXFLAGS="${CXXFLAGS} -Wvirtual-inheritance" export CXXFLAGS="${CXXFLAGS} -Wvirtual-move-assign" export CXXFLAGS="${CXXFLAGS} -Wvla" #export CXXFLAGS="${CXXFLAGS} -Wvla-larger-than=" +export CXXFLAGS="${CXXFLAGS} -Wvolatile" export CXXFLAGS="${CXXFLAGS} -Wvolatile-register-var" export CXXFLAGS="${CXXFLAGS} -Wwrite-strings" export CXXFLAGS="${CXXFLAGS} -Wzero-as-null-pointer-constant" +export CXXFLAGS="${CXXFLAGS} -Wzero-length-bounds" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wzerotrip" #export CXXFLAGS="${CXXFLAGS} -frequire-return-statement" |