From: Daniel Wagner Date: Mon, 27 Dec 2021 14:52:50 +0000 (+0100) Subject: build: Set maximum warning level X-Git-Tag: v2.0-rc0~9 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e23f547e8d9393e725d70a4807f7a5c4dd2df416;p=users%2Fsagi%2Fnvme-cli.git 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 --- 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', ] )