mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-24 05:44:16 +00:00
wscript: enable -Werror=alloc-size and -Walloc-zero
This commit is contained in:
parent
c926fee13c
commit
b5d602d953
2
wscript
2
wscript
@ -292,6 +292,7 @@ def configure(conf):
|
|||||||
'-fdiagnostics-color=always',
|
'-fdiagnostics-color=always',
|
||||||
|
|
||||||
# stable diagnostics, forced to error, sorted
|
# stable diagnostics, forced to error, sorted
|
||||||
|
'-Werror=alloc-size',
|
||||||
'-Werror=bool-compare',
|
'-Werror=bool-compare',
|
||||||
'-Werror=bool-operation',
|
'-Werror=bool-operation',
|
||||||
'-Werror=cast-align=strict',
|
'-Werror=cast-align=strict',
|
||||||
@ -321,6 +322,7 @@ def configure(conf):
|
|||||||
'-Wmisleading-indentation',
|
'-Wmisleading-indentation',
|
||||||
'-Wstringop-overflow',
|
'-Wstringop-overflow',
|
||||||
'-Wunintialized',
|
'-Wunintialized',
|
||||||
|
'-Walloc-zero',
|
||||||
|
|
||||||
# disabled, flood
|
# disabled, flood
|
||||||
# '-Wdouble-promotion',
|
# '-Wdouble-promotion',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user