meson: use warning_level=2 by default

Let's bump up the warning level, and not add by -Wextra by hand. This is the
approach recommended by meson. The idea is that all projects should be as
similar as possible to make it easier for users to switch between projects.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-11-10 11:39:15 +01:00
parent cbe8049474
commit 827ca90986
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,7 @@ project('systemd', 'c',
'prefix=/usr',
'sysconfdir=/etc',
'localstatedir=/var',
'warning_level=2',
],
meson_version : '>= 0.46',
)
@ -323,7 +324,6 @@ elif want_fuzzbuzz
endif
possible_cc_flags = [
'-Wextra',
'-Werror=undef',
'-Wlogical-op',
'-Wmissing-include-dirs',