From a3ed067996150412c28fb211dad38525e79a6e35 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Thu, 15 Oct 2020 23:34:39 +0100 Subject: android: metadata: Disable -Wshadow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not warn on shadowed variables inside the metadata library, which is directly imported without modifications. Suggested-by: Laurent Pinchart Signed-off-by: Kieran Bingham Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- src/android/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/android/meson.build b/src/android/meson.build index 5a01bea3..f72376a0 100644 --- a/src/android/meson.build +++ b/src/android/meson.build @@ -33,4 +33,5 @@ android_camera_metadata_sources = files([ android_camera_metadata = static_library('camera_metadata', android_camera_metadata_sources, + c_args : '-Wno-shadow', include_directories : android_includes) -- cgit v1.2.1