From: Zbigniew Jędrzejewski-Szmek Date: Sun, 10 Nov 2019 10:39:15 +0000 (+0100) Subject: meson: use warning_level=2 by default X-Git-Tag: v244-rc1~69^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=827ca90986d755b008e0002f0cd80edfc7271659;p=thirdparty%2Fsystemd.git 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. --- diff --git a/meson.build b/meson.build index 56b7bfea704..b7017f4f40c 100644 --- a/meson.build +++ b/meson.build @@ -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',