mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-07 02:35:04 +00:00
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>
This commit is contained in:
parent
34473d703f
commit
e2f9c1b76c
|
@ -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…
Reference in a new issue