build: disable some annoying warnings

This commit is contained in:
Simon Ser 2020-03-13 17:53:50 +01:00
parent 7999b7443e
commit d7babf8641
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -11,7 +11,13 @@ project(
], ],
) )
add_project_arguments('-Wno-unused-parameter', language: 'c') cc = meson.get_compiler('c')
add_project_arguments(cc.get_supported_arguments([
'-Wno-missing-braces',
'-Wno-missing-field-initializers',
'-Wno-unused-parameter',
]), language: 'c')
xdpw_inc = include_directories('include') xdpw_inc = include_directories('include')