mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 02:33:36 +08:00
meson: Add -Wall and -Wextra to header checks
This should ensure public headers are free from any warnings.
This commit is contained in:
parent
14056a52c6
commit
ee8052c137
@ -83,6 +83,8 @@ foreach header : _systemd_headers + _not_installed_headers + [libudev_h_path]
|
||||
args : [cc.cmd_array(),
|
||||
'-c',
|
||||
'-x', opt,
|
||||
'-Wall',
|
||||
'-Wextra',
|
||||
'-Werror',
|
||||
'-include', meson.current_source_dir() / header,
|
||||
'-o/dev/null',
|
||||
|
Loading…
Reference in New Issue
Block a user