diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-17 20:01:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-17 20:01:35 +0300 |
commit | 2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75 (patch) | |
tree | 74b2c232cfead55191ffc843b5a9a98fc8038cc7 /tools | |
parent | 58918c1eedfb1d2d6c46a3156e0c4db4f1e3720f (diff) | |
download | manaverse-2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75.tar.gz manaverse-2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75.tar.bz2 manaverse-2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75.tar.xz manaverse-2ea8a0796d2e5645c9bbcaca873c32ab25ddfb75.zip |
Add -Wpointer-bool-conversion flag into clang ci jobs.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ci/jobs/clang39.sh | 3 | ||||
-rwxr-xr-x | tools/ci/jobs/clang39.sh_c++11.sh | 1 | ||||
-rwxr-xr-x | tools/ci/jobs/clang39_sdl2.sh | 3 | ||||
-rwxr-xr-x | tools/ci/jobs/clang40.sh | 3 |
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 $* |