2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

wscript: enable -Werror=alloc-size and -Walloc-zero

This commit is contained in:
Alibek Omarov 2023-12-11 07:11:40 +03:00
parent c926fee13c
commit b5d602d953

View File

@ -292,6 +292,7 @@ def configure(conf):
'-fdiagnostics-color=always',
# stable diagnostics, forced to error, sorted
'-Werror=alloc-size',
'-Werror=bool-compare',
'-Werror=bool-operation',
'-Werror=cast-align=strict',
@ -321,6 +322,7 @@ def configure(conf):
'-Wmisleading-indentation',
'-Wstringop-overflow',
'-Wunintialized',
'-Walloc-zero',
# disabled, flood
# '-Wdouble-promotion',