mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-22 17:01:14 +01:00
wscript: enable mismatched-dealloc and free-nonheap-object, now that we mark all malloc-like functions with malloc attribute
This commit is contained in:
parent
bc8bf9a9fb
commit
37fb46f092
2
wscript
2
wscript
@ -311,6 +311,7 @@ def configure(conf):
|
||||
# '-Werror=cast-align=strict',
|
||||
'-Werror=duplicated-cond',
|
||||
'-Werror=format-extra-args',
|
||||
'-Werror=free-nonheap-object',
|
||||
'-Werror=implicit-fallthrough=2',
|
||||
'-Werror=logical-op',
|
||||
'-Werror=nonnull',
|
||||
@ -335,6 +336,7 @@ def configure(conf):
|
||||
'-Wformat=2',
|
||||
'-Winit-self',
|
||||
'-Wmisleading-indentation',
|
||||
'-Wmismatched-dealloc',
|
||||
'-Wstringop-overflow',
|
||||
'-Wunintialized',
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user