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:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user