summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-17 20:01:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-17 20:01:35 +0300
commit2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75 (patch)
tree74b2c232cfead55191ffc843b5a9a98fc8038cc7 /tools/ci
parent58918c1eedfb1d2d6c46a3156e0c4db4f1e3720f (diff)
downloadplus-2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75.tar.gz
plus-2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75.tar.bz2
plus-2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75.tar.xz
plus-2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75.zip
Add -Wpointer-bool-conversion flag into clang ci jobs.
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/jobs/clang39.sh3
-rwxr-xr-xtools/ci/jobs/clang39.sh_c++11.sh1
-rwxr-xr-xtools/ci/jobs/clang39_sdl2.sh3
-rwxr-xr-xtools/ci/jobs/clang40.sh3
4 files changed, 7 insertions, 3 deletions
diff --git a/tools/ci/jobs/clang39.sh b/tools/ci/jobs/clang39.sh
index 238655510..5a62a0941 100755
--- a/tools/ci/jobs/clang39.sh
+++ b/tools/ci/jobs/clang39.sh
@@ -17,7 +17,8 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio
-Wno-shorten-64-to-32 -Wno-missing-variable-declarations \
-Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \
-Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \
--Wno-variadic-macros -Wno-double-promotion"
+-Wno-variadic-macros -Wno-double-promotion \
+-Wpointer-bool-conversion"
do_init
run_configure --enable-werror $*
diff --git a/tools/ci/jobs/clang39.sh_c++11.sh b/tools/ci/jobs/clang39.sh_c++11.sh
index 67b737bef..ac44cdf49 100755
--- a/tools/ci/jobs/clang39.sh_c++11.sh
+++ b/tools/ci/jobs/clang39.sh_c++11.sh
@@ -18,6 +18,7 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio
-Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \
-Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \
-Wno-variadic-macros -Wno-double-promotion \
+-Wpointer-bool-conversion \
-O3 -std=c++11 -Wno-c++98-compat-pedantic"
do_init
diff --git a/tools/ci/jobs/clang39_sdl2.sh b/tools/ci/jobs/clang39_sdl2.sh
index 5c06c2d77..d4a3ffe21 100755
--- a/tools/ci/jobs/clang39_sdl2.sh
+++ b/tools/ci/jobs/clang39_sdl2.sh
@@ -17,7 +17,8 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio
-Wno-shorten-64-to-32 -Wno-missing-variable-declarations \
-Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \
-Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \
--Wno-variadic-macros -Wno-double-promotion"
+-Wno-variadic-macros -Wno-double-promotion \
+-Wpointer-bool-conversion"
do_init
run_configure --enable-werror --with-sdl2 $*
diff --git a/tools/ci/jobs/clang40.sh b/tools/ci/jobs/clang40.sh
index 4dccb0b4e..f8042878f 100755
--- a/tools/ci/jobs/clang40.sh
+++ b/tools/ci/jobs/clang40.sh
@@ -17,7 +17,8 @@ export CXXFLAGS="-Weverything -Wno-documentation -Wno-padded -Wno-sign-conversio
-Wno-shorten-64-to-32 -Wno-missing-variable-declarations \
-Wno-disabled-macro-expansion -Wno-format-nonliteral -stdlib=libc++ \
-Wno-reserved-id-macro -Wno-packed -Wno-documentation-unknown-command \
--Wno-variadic-macros -Wno-double-promotion"
+-Wno-variadic-macros -Wno-double-promotion \
+-Wpointer-bool-conversion"
do_init
run_configure --enable-werror $*