wscript: enforce GCC suspicious sizeof operations warnings as errors
This commit is contained in:
parent
bec0b36bb9
commit
82b6da493a
1 changed files with 3 additions and 0 deletions
3
wscript
3
wscript
|
@ -206,6 +206,9 @@ def configure(conf):
|
|||
'-Werror=implicit-fallthrough=2', # clang incompatible without "=2"
|
||||
'-Werror=logical-op',
|
||||
'-Werror=write-strings',
|
||||
'-Werror=sizeof-pointer-memaccess',
|
||||
'-Werror=sizeof-array-div',
|
||||
'-Werror=sizeof-pointer-div',
|
||||
# '-Werror=format=2',
|
||||
# '-Wdouble-promotion', # disable warning flood
|
||||
'-Wstrict-aliasing',
|
||||
|
|
Loading…
Add table
Reference in a new issue