meson: for now, disable unused-result warnings

This commit is contained in:
Daniel Eklöf 2019-05-03 22:45:35 +02:00
parent aaa5239b07
commit 5ae658c8ed

View file

@ -3,7 +3,8 @@ project('f00bar', 'c',
default_options: ['c_std=c11', 'warning_level=1', 'werror=true'])
add_project_arguments(
['-D_GNU_SOURCE'] +
['-D_GNU_SOURCE',
'-Wno-unused-result'] +
(get_option('core-plugins-as-shared-libraries') ? ['-DCORE_PLUGINS_AS_SHARED_LIBRARIES'] : []),
language: 'c',
)