mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-22 17:01:14 +01:00
wscript: add some more alignment related diagnostics
This commit is contained in:
parent
2aaa6c6e04
commit
9c6183e6a0
4
wscript
4
wscript
@ -271,6 +271,10 @@ def configure(conf):
|
||||
'-Werror=duplicated-branches', # BEWARE: buggy
|
||||
'-Werror=bool-compare',
|
||||
'-Werror=bool-operation',
|
||||
'-Werror=cast-align',
|
||||
'-Werror=cast-align=strict', # =strict is for GCC >=8
|
||||
'-Werror=packed',
|
||||
'-Werror=packed-not-aligned',
|
||||
'-Wuninitialized', # older GCC versions have -Wmaybe-uninitialized enabled by this switch, which is not accurate
|
||||
# so just warn, not error
|
||||
'-Winit-self',
|
||||
|
Loading…
Reference in New Issue
Block a user