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 <daniels@collabora.com>
dev
Daniel Stone 5 years ago
parent 34473d703f
commit e2f9c1b76c
  1. 3
      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

Loading…
Cancel
Save