build: Suppress 'pedantic' GCC warnings
GCC's 'pedantic' warnings warn about a bunch of things which are true of ISO C but not the toolchains we care about (GCC, Clang). Suppress those warnings to allow us to build with Meson's warning_level=3. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
5898cd32c5
commit
34473d703f
|
@ -60,6 +60,8 @@ global_args_maybe = [
|
|||
'-Wno-unused-parameter',
|
||||
'-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 New Issue