From cacd51fa9336e6e606f340b48e01a66034bea0ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 23 Mar 2019 18:57:24 +0000 Subject: [PATCH] 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. --- meson.build | 1 - 1 file changed, 1 deletion(-) 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 = [ -- 2.7.4