From: Tim-Philipp Müller Date: Sat, 23 Mar 2019 18:57:24 +0000 (+0000) Subject: g-i: silence 'nested extern' compiler warnings when building scanner binary X-Git-Tag: 1.19.3~507^2~3475 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cacd51fa9336e6e606f340b48e01a66034bea0ee;p=platform%2Fupstream%2Fgstreamer.git g-i: silence 'nested extern' compiler warnings when building scanner binary We need a nested extern in our init section for the scanner binary so we can call gst_init to make sure GStreamer types are initialised (they are not all lazy init via get_type functions, but some are in exported variables). There doesn't seem to be any other mechanism to achieve this, so just remove that warning, it's not important at all. --- diff --git a/meson.build b/meson.build index 45a2039..3c10943 100644 --- a/meson.build +++ b/meson.build @@ -189,7 +189,6 @@ warning_c_flags = [ '-Wmissing-prototypes', '-Wdeclaration-after-statement', '-Wold-style-definition', - '-Wnested-externs', ] warning_cxx_flags = [