mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
wscript: enforce GCC suspicious sizeof operations warnings as errors
This commit is contained in:
parent
bec0b36bb9
commit
82b6da493a
3
wscript
3
wscript
@ -206,6 +206,9 @@ def configure(conf):
|
||||
'-Werror=implicit-fallthrough=2', # clang incompatible without "=2"
|
||||
'-Werror=logical-op',
|
||||
'-Werror=write-strings',
|
||||
'-Werror=sizeof-pointer-memaccess',
|
||||
'-Werror=sizeof-array-div',
|
||||
'-Werror=sizeof-pointer-div',
|
||||
# '-Werror=format=2',
|
||||
# '-Wdouble-promotion', # disable warning flood
|
||||
'-Wstrict-aliasing',
|
||||
|
Loading…
x
Reference in New Issue
Block a user