[libcamera-devel] [PATCH v2 10/11] android: metadata: Disable -Wshadow
Kieran Bingham
kieran.bingham at ideasonboard.com
Fri Oct 16 00:37:49 CEST 2020
Do not warn on shadowed variables inside the metadata library,
which is directly imported without modifications.
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
src/android/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/android/meson.build b/src/android/meson.build
index b2b2293cf62d..2103745dd822 100644
--- a/src/android/meson.build
+++ b/src/android/meson.build
@@ -32,4 +32,5 @@ android_camera_metadata_sources = files([
android_camera_metadata = static_library('camera_metadata',
android_camera_metadata_sources,
+ cpp_args : '-Wnoshadow',
include_directories : android_includes)
--
2.25.1
More information about the libcamera-devel
mailing list