2
0
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:
Alibek Omarov 2024-09-30 03:58:12 +03:00
parent bc8bf9a9fb
commit 37fb46f092

View File

@ -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',