Browse Source

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

pull/2/head
Alibek Omarov 7 months ago
parent
commit
b5d602d953
  1. 2
      wscript

2
wscript

@ -292,6 +292,7 @@ def configure(conf): @@ -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): @@ -321,6 +322,7 @@ def configure(conf):
'-Wmisleading-indentation',
'-Wstringop-overflow',
'-Wunintialized',
'-Walloc-zero',
# disabled, flood
# '-Wdouble-promotion',

Loading…
Cancel
Save