diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-03 21:41:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-05 00:05:00 +0300 |
commit | 3cb9abea149e5ad65999171eda22879a34dc7a22 (patch) | |
tree | 03536bf0ea956f337ef1b04b271b6afafce4e376 /tools | |
parent | 92f77b1d8eb0922ad9c25c953654167ef0209002 (diff) | |
download | manaplus-3cb9abea149e5ad65999171eda22879a34dc7a22.tar.gz manaplus-3cb9abea149e5ad65999171eda22879a34dc7a22.tar.bz2 manaplus-3cb9abea149e5ad65999171eda22879a34dc7a22.tar.xz manaplus-3cb9abea149e5ad65999171eda22879a34dc7a22.zip |
Add new compiler flags for gcc snapshot.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ci/flags/gccsnapshot.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh index 639e40a0c..c69e04bc2 100755 --- a/tools/ci/flags/gccsnapshot.sh +++ b/tools/ci/flags/gccsnapshot.sh @@ -125,6 +125,7 @@ export CXXFLAGS="${CXXFLAGS} -Wfree-nonheap-object" # not for C++ #export CXXFLAGS="${CXXFLAGS} -Wfunction-elimination" export CXXFLAGS="${CXXFLAGS} -Whsa" +export CXXFLAGS="${CXXFLAGS} -Wif-not-aligned" export CXXFLAGS="${CXXFLAGS} -Wignored-attributes" export CXXFLAGS="${CXXFLAGS} -Wignored-qualifiers" # not for C++ @@ -207,6 +208,7 @@ export CXXFLAGS="${CXXFLAGS} -Woverloaded-virtual" #export CXXFLAGS="${CXXFLAGS} -Woverride-init-side-effects" export CXXFLAGS="${CXXFLAGS} -Wpacked" export CXXFLAGS="${CXXFLAGS} -Wpacked-bitfield-compat" +export CXXFLAGS="${CXXFLAGS} -Wpacked-not-aligned" # +++ may be need fix in future? #export CXXFLAGS="${CXXFLAGS} -Wpadded" export CXXFLAGS="${CXXFLAGS} -Wparentheses" |