summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-19 06:12:49 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-19 06:12:49 +0300
commit1b075b505f315121258e03f895fa6ce2dc0f746c (patch)
tree5ce8313204e1152a4ab53e1aa48ba5563bbde64b
parent4e607dcadaa61a4839ba33dce4bc15d9c2efd890 (diff)
downloadmv-1b075b505f315121258e03f895fa6ce2dc0f746c.tar.gz
mv-1b075b505f315121258e03f895fa6ce2dc0f746c.tar.bz2
mv-1b075b505f315121258e03f895fa6ce2dc0f746c.tar.xz
mv-1b075b505f315121258e03f895fa6ce2dc0f746c.zip
Disable warning -Wimplicit-fallthrough in clang 5.0 builds.
-rwxr-xr-xtools/ci/jobs/clang50.sh2
-rwxr-xr-xtools/ci/jobs/clang50_tests.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ci/jobs/clang50.sh b/tools/ci/jobs/clang50.sh
index 2dbe16e07..4ee67d9c0 100755
--- a/tools/ci/jobs/clang50.sh
+++ b/tools/ci/jobs/clang50.sh
@@ -23,7 +23,7 @@ export CXXFLAGS="$CXXFLAGS -Weverything -Wno-documentation -Wno-padded -Wno-sign
-Wno-disabled-macro-expansion -Wno-format-nonliteral \
-Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \
-Wno-variadic-macros -Wno-double-promotion -Wno-attributes -Wno-shadow-field \
--Wno-c++98-compat -Wno-c++98-compat-pedantic \
+-Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-implicit-fallthrough \
-Wpointer-bool-conversion -fno-omit-frame-pointer -ggdb3 $POST_CXXFLAGS"
do_init
diff --git a/tools/ci/jobs/clang50_tests.sh b/tools/ci/jobs/clang50_tests.sh
index dfc8d54a6..7b333d123 100755
--- a/tools/ci/jobs/clang50_tests.sh
+++ b/tools/ci/jobs/clang50_tests.sh
@@ -23,7 +23,7 @@ export CXXFLAGS="$CXXFLAGS -Weverything -Wno-documentation -Wno-padded -Wno-sign
-Wno-disabled-macro-expansion -Wno-format-nonliteral \
-Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \
-Wno-variadic-macros -Wno-double-promotion -Wno-attributes -Wno-shadow-field \
--Wno-c++98-compat -Wno-c++98-compat-pedantic \
+-Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-implicit-fallthrough \
-Wpointer-bool-conversion -fno-omit-frame-pointer -ggdb3 $POST_CXXFLAGS"
do_init