summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/flags/gcc9.sh4
-rwxr-xr-xtools/ci/flags/gccfedora.sh1
-rwxr-xr-xtools/ci/flags/gccsnapshot.sh3
3 files changed, 6 insertions, 2 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"
diff --git a/tools/ci/flags/gccfedora.sh b/tools/ci/flags/gccfedora.sh
index 4c9fc0829..3e462fbfd 100755
--- a/tools/ci/flags/gccfedora.sh
+++ b/tools/ci/flags/gccfedora.sh
@@ -133,6 +133,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"
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh
index 0064079e4..52539b36e 100755
--- a/tools/ci/flags/gccsnapshot.sh
+++ b/tools/ci/flags/gccsnapshot.sh
@@ -105,7 +105,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"
+# not for C++
+#export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration"
export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined"
export CXXFLAGS="${CXXFLAGS} -Wextra"
export CXXFLAGS="${CXXFLAGS} -Wextra-semi"