From 5ae658c8edfb7480486cf707fcd8447b80cad9a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 3 May 2019 22:45:35 +0200 Subject: [PATCH] meson: for now, disable unused-result warnings --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 03fba44..25ffb36 100644 --- a/meson.build +++ b/meson.build @@ -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', )