summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-04 01:50:37 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-04 01:50:37 +0300
commit4242505e3d1f5e44fd402c4266b83fe9429369e0 (patch)
treeee006ced99812987a05609105ecb55f511099e31
parent65bccb4fc48707a8bcccedaa57a87468ad8b7349 (diff)
downloadmanaplus-4242505e3d1f5e44fd402c4266b83fe9429369e0.tar.gz
manaplus-4242505e3d1f5e44fd402c4266b83fe9429369e0.tar.bz2
manaplus-4242505e3d1f5e44fd402c4266b83fe9429369e0.tar.xz
manaplus-4242505e3d1f5e44fd402c4266b83fe9429369e0.zip
Add -Wno-attributes into ci jobs where it missing.
-rwxr-xr-xtools/ci/jobs/gcc6.sh3
-rwxr-xr-xtools/ci/jobs/gcc6_sanitize.sh3
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sdl2.sh3
3 files changed, 6 insertions, 3 deletions
diff --git a/tools/ci/jobs/gcc6.sh b/tools/ci/jobs/gcc6.sh
index 46d3743ab..e467df30c 100755
--- a/tools/ci/jobs/gcc6.sh
+++ b/tools/ci/jobs/gcc6.sh
@@ -13,7 +13,8 @@ aptget_install gcc-6 g++-6 \
export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
--std=gnu++1z -Wformat=1"
+-std=gnu++1z -Wformat=1 \
+-Wno-attributes"
source ./tools/ci/flags/gcc6.sh
diff --git a/tools/ci/jobs/gcc6_sanitize.sh b/tools/ci/jobs/gcc6_sanitize.sh
index 966f6724f..69b3e6524 100755
--- a/tools/ci/jobs/gcc6_sanitize.sh
+++ b/tools/ci/jobs/gcc6_sanitize.sh
@@ -20,7 +20,8 @@ export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow \
-fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \
-fsanitize=enum -fsanitize=vptr -fsanitize=bounds-strict \
--std=gnu++1z -Wformat=1"
+-std=gnu++1z -Wformat=1 \
+-Wno-attributes"
source ./tools/ci/flags/gcc6.sh
diff --git a/tools/ci/jobs/gccsnapshot_sdl2.sh b/tools/ci/jobs/gccsnapshot_sdl2.sh
index 6c80af066..7530b1afe 100755
--- a/tools/ci/jobs/gccsnapshot_sdl2.sh
+++ b/tools/ci/jobs/gccsnapshot_sdl2.sh
@@ -14,7 +14,8 @@ aptget_install gcc-snapshot \
export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
--std=gnu++1z -Wformat=1"
+-std=gnu++1z -Wformat=1 \
+-Wno-attributes"
source ./tools/ci/flags/gccsnapshot.sh