From f545992aeb6fe8fa4d4bc36098f62da61535d313 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 26 Apr 2020 16:25:57 +0200 Subject: [PATCH] Set meson warning_level --- meson.build | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 5aa78a1..a42dcf3 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project('zathura', 'c', version: '0.4.5', meson_version: '>=0.47', - default_options: 'c_std=c11', + default_options: ['c_std=c11', 'warning_level=3'], ) version = meson.project_version() @@ -57,9 +57,6 @@ defines = [ # compile flags flags = [ - '-Wall', - '-Wextra', - '-pedantic', '-Werror=implicit-function-declaration', '-Werror=vla', '-fvisibility=hidden'