waf: add -Wsizeof-pointer-div

This commit is contained in:
Peter Barker 2021-11-24 10:25:47 +11:00 committed by Andrew Tridgell
parent 139c460fa5
commit a2961ede8f
1 changed files with 1 additions and 0 deletions

View File

@ -319,6 +319,7 @@ class Board:
'-Werror=implicit-fallthrough',
'-Wmaybe-uninitialized',
'-Wduplicated-cond',
'-Werror=sizeof-pointer-div',
]
if cfg.options.Werror: