From e2f9c1b76c043dcc86f17a883b575307c6b9be45 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 11 Jun 2019 11:41:41 +0100 Subject: [PATCH] Default build to warning_level=3 After suppressing the pedantic errors, we can now enable a higher warning_level by default, so developers can catch warnings earlier. Signed-off-by: Daniel Stone --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index ce332db5..cd75c652 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project('weston', 'c', version: '6.0.90', default_options: [ - 'warning_level=2', + 'warning_level=3', 'c_std=gnu99', 'b_lundef=false', ], @@ -61,7 +61,6 @@ global_args_maybe = [ '-Wno-shift-negative-value', # required due to Pixman '-Wno-missing-field-initializers', '-Wno-pedantic', - '-Wno-error=pedantic', '-fvisibility=hidden', ] foreach a : global_args_maybe