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
1 changed files with 2 additions and 0 deletions
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…
Add table
Reference in a new issue