summaryrefslogtreecommitdiff
path: root/tools/ci/flags/gcc7.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-08-21 18:47:11 +0300
committerAndrei Karas <akaras@inbox.ru>2019-08-21 18:48:18 +0300
commitb0275108a0b5603a758104e7f6640606092aafed (patch)
tree1f89f46754f52795268c977460050d76d4568824 /tools/ci/flags/gcc7.sh
parentb2067e470700daa753ab0a16b6d3b2e216d65114 (diff)
downloadmv-b0275108a0b5603a758104e7f6640606092aafed.tar.gz
mv-b0275108a0b5603a758104e7f6640606092aafed.tar.bz2
mv-b0275108a0b5603a758104e7f6640606092aafed.tar.xz
mv-b0275108a0b5603a758104e7f6640606092aafed.zip
Disable warning -Werror-implicit-function-declaration in gcc-7 build [ci skip]
Diffstat (limited to 'tools/ci/flags/gcc7.sh')
-rwxr-xr-xtools/ci/flags/gcc7.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ci/flags/gcc7.sh b/tools/ci/flags/gcc7.sh
index cbe3022b8..65b3fe02c 100755
--- a/tools/ci/flags/gcc7.sh
+++ b/tools/ci/flags/gcc7.sh
@@ -95,7 +95,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"
# +++ need fix in future