From ed4a9b0d9c593777551af3145e27ea40aced3e31 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 3 Feb 2020 18:48:36 +0200 Subject: meson.build: Enable Wextra and transform warning messages into errors Even though this is a bit too much it helps catch errors/type errors much sooner when building with yocto, as all of debug/verbose messages are suppressed normally. Bug-AGL: SPEC-3150 Signed-off-by: Marius Vlad Change-Id: Id7c48cb0e8b48f0f7ac6e9f4636b84c789c2e5e2 --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index c338ee6..b7fd577 100644 --- a/meson.build +++ b/meson.build @@ -16,6 +16,8 @@ add_project_arguments( cc.get_supported_arguments([ '-Wno-unused-parameter', '-Wno-pedantic', + '-Wextra', + '-Werror' ]), language: 'c' ) -- cgit 1.2.3-korg