summaryrefslogtreecommitdiff
path: root/tools/ci/flags/gcc9.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/flags/gcc9.sh')
-rwxr-xr-xtools/ci/flags/gcc9.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ci/flags/gcc9.sh b/tools/ci/flags/gcc9.sh
index 807323ed4..b28cf7e69 100755
--- a/tools/ci/flags/gcc9.sh
+++ b/tools/ci/flags/gcc9.sh
@@ -116,7 +116,8 @@ export CXXFLAGS="${CXXFLAGS} -Wduplicated-cond"
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} -Werror-implicit-function-declaration"
+
export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined"
export CXXFLAGS="${CXXFLAGS} -Wextra"
export CXXFLAGS="${CXXFLAGS} -Wextra-semi"
@@ -149,6 +150,7 @@ export CXXFLAGS="${CXXFLAGS} -Wignored-qualifiers"
#export CXXFLAGS="${CXXFLAGS} -Wimplicit"
#export CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough"
export CXXFLAGS="${CXXFLAGS} -Wimplicit-fallthrough=5"
+# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wimplicit-function-declaration"
#export CXXFLAGS="${CXXFLAGS} -Wimplicit-int"
#export CXXFLAGS="${CXXFLAGS} -Wimplicit-interface"