waf: add -Wsizeof-pointer-div
This commit is contained in:
parent
139c460fa5
commit
a2961ede8f
@ -319,6 +319,7 @@ class Board:
|
|||||||
'-Werror=implicit-fallthrough',
|
'-Werror=implicit-fallthrough',
|
||||||
'-Wmaybe-uninitialized',
|
'-Wmaybe-uninitialized',
|
||||||
'-Wduplicated-cond',
|
'-Wduplicated-cond',
|
||||||
|
'-Werror=sizeof-pointer-div',
|
||||||
]
|
]
|
||||||
|
|
||||||
if cfg.options.Werror:
|
if cfg.options.Werror:
|
||||||
|
Loading…
Reference in New Issue
Block a user