summaryrefslogtreecommitdiff
path: root/tools/ci/flags/gccsnapshot.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-04 01:43:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-04 01:43:42 +0300
commit65bccb4fc48707a8bcccedaa57a87468ad8b7349 (patch)
tree49d7821a48bd8545afb0f917cec185798f7e034c /tools/ci/flags/gccsnapshot.sh
parent2e82d3003315806076a53df23064ba744e491fc2 (diff)
downloadmanaplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.gz
manaplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.bz2
manaplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.tar.xz
manaplus-65bccb4fc48707a8bcccedaa57a87468ad8b7349.zip
Add compiler flag -Wno-attributes for prevent warnings about packed attributes.
Diffstat (limited to 'tools/ci/flags/gccsnapshot.sh')
-rwxr-xr-xtools/ci/flags/gccsnapshot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh
index 0a14cfb02..7297c3a8b 100755
--- a/tools/ci/flags/gccsnapshot.sh
+++ b/tools/ci/flags/gccsnapshot.sh
@@ -25,7 +25,8 @@ export CXXFLAGS="${CXXFLAGS} -Warray-bounds=2"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Warray-temporaries"
#export CXXFLAGS="${CXXFLAGS} -Wassign-intercept"
-export CXXFLAGS="${CXXFLAGS} -Wattributes"
+# show warning for padding
+#export CXXFLAGS="${CXXFLAGS} -Wattributes"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Wbad-function-cast"
export CXXFLAGS="${CXXFLAGS} -Wbool-compare"