From: Tim-Philipp Müller Date: Sat, 25 Jul 2020 18:36:10 +0000 (+0100) Subject: directfb: suppress compiler warning from directfb headers X-Git-Tag: 1.19.3~507^2~1559 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=798249dc9f6370e3aabdab9f3cbd8e3ea9049628;p=platform%2Fupstream%2Fgstreamer.git directfb: suppress compiler warning from directfb headers On debian sid, directfb 1.7.7 Part-of: --- diff --git a/ext/directfb/meson.build b/ext/directfb/meson.build index 2cc6f0d4c1..ac264c2bf6 100644 --- a/ext/directfb/meson.build +++ b/ext/directfb/meson.build @@ -3,7 +3,7 @@ directfb_dep = dependency('directfb', version : '>= 0.9.24', required : get_opti if directfb_dep.found() gstdirectfb = library('gstdirectfb', 'dfbvideosink.c', - c_args : gst_plugins_bad_args, + c_args : gst_plugins_bad_args + cc.get_supported_arguments('-Wno-redundant-decls'), include_directories : [configinc], dependencies : [gstvideo_dep, directfb_dep], install : true, diff --git a/tests/examples/directfb/meson.build b/tests/examples/directfb/meson.build index 75fc145baf..563c7a16b7 100644 --- a/tests/examples/directfb/meson.build +++ b/tests/examples/directfb/meson.build @@ -2,6 +2,6 @@ if directfb_dep.found() executable('gstdfb', 'gstdfb.c', include_directories : [configinc], dependencies : [gst_dep, directfb_dep, libm], - c_args : gst_plugins_bad_args, + c_args : gst_plugins_bad_args + cc.get_supported_arguments('-Wno-redundant-decls'), install: false) endif