summaryrefslogtreecommitdiff
path: root/tools/ci/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs')
-rwxr-xr-xtools/ci/jobs/clang60.sh3
-rwxr-xr-xtools/ci/jobs/clang60_tests.sh5
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/ci/jobs/clang60.sh b/tools/ci/jobs/clang60.sh
index db12c82c5..2fe837b08 100755
--- a/tools/ci/jobs/clang60.sh
+++ b/tools/ci/jobs/clang60.sh
@@ -15,6 +15,7 @@ export LOGFILE=clang60.log
source ./tools/ci/scripts/init.sh
# need fix -Wshadow-field
+# add -Wno-zero-as-null-pointer-constant due clang bug
export CXXFLAGS="$CXXFLAGS -Weverything -Wno-documentation -Wno-padded -Wno-sign-conversion \
-Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables \
@@ -24,7 +25,7 @@ export CXXFLAGS="$CXXFLAGS -Weverything -Wno-documentation -Wno-padded -Wno-sign
-Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \
-Wno-variadic-macros -Wno-double-promotion -Wno-attributes -Wno-shadow-field \
-Wpointer-bool-conversion -fno-omit-frame-pointer -Wno-c++98-compat-pedantic \
--Wno-implicit-fallthrough \
+-Wno-implicit-fallthrough -Wno-zero-as-null-pointer-constant \
-ggdb3 $POST_CXXFLAGS"
do_init
diff --git a/tools/ci/jobs/clang60_tests.sh b/tools/ci/jobs/clang60_tests.sh
index 065d8bfbd..dc87d109c 100755
--- a/tools/ci/jobs/clang60_tests.sh
+++ b/tools/ci/jobs/clang60_tests.sh
@@ -15,6 +15,7 @@ export LOGFILE=clang60.log
source ./tools/ci/scripts/init.sh
# need fix -Wshadow-field
+# add -Wno-zero-as-null-pointer-constant due clang bug
export CXXFLAGS="$CXXFLAGS -Weverything -Wno-documentation -Wno-padded -Wno-sign-conversion \
-Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables \
@@ -23,7 +24,9 @@ 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 \
--Wpointer-bool-conversion -fno-omit-frame-pointer -ggdb3 $POST_CXXFLAGS"
+-Wpointer-bool-conversion -fno-omit-frame-pointer \
+-Wno-zero-as-null-pointer-constant \
+-ggdb3 $POST_CXXFLAGS"
do_init
run_configure --enable-unittests=yes $*