From e23f547e8d9393e725d70a4807f7a5c4dd2df416 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 27 Dec 2021 15:52:50 +0100 Subject: [PATCH] build: Set maximum warning level Without defining the default warning level the build system will use the default level, which is implementation depended. For example muon sets it to 3 which includes '-Wpendantic'. This results in a lot of ISO-C non compliant warnings. Let's define the warning level so that all build systems are using the same values. Signed-off-by: Daniel Wagner --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 9eda18b1..6caaf2aa 100644 --- a/meson.build +++ b/meson.build @@ -8,6 +8,7 @@ project( 'c_std=gnu99', 'buildtype=release', 'prefix=/usr', + 'warning_level=1', ] ) -- 2.50.1