From 827ca90986d755b008e0002f0cd80edfc7271659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 10 Nov 2019 11:39:15 +0100 Subject: [PATCH] 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. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 56b7bfea70..b7017f4f40 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',