summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-09-30 03:27:15 +0300
committerAndrei Karas <akaras@inbox.ru>2019-09-30 03:30:11 +0300
commitfdf8230a80fa418e4b46dc489e5b2dda7901b55c (patch)
treee716692c1a25c465f3550827d978ba6284b596ec
parentb0275108a0b5603a758104e7f6640606092aafed (diff)
downloadmv-fdf8230a80fa418e4b46dc489e5b2dda7901b55c.tar.gz
mv-fdf8230a80fa418e4b46dc489e5b2dda7901b55c.tar.bz2
mv-fdf8230a80fa418e4b46dc489e5b2dda7901b55c.tar.xz
mv-fdf8230a80fa418e4b46dc489e5b2dda7901b55c.zip
Disable unsupported compiler flags for gcc-9
-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"