From d5cbf69a7feb39af5b767f2d000f9aead80d7563 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 29 Jul 2024 20:25:50 +0300 Subject: apps: qcam: Disable -Wextra-semi The Qt 6 qkeysequence.h header has an extra semicolon. This causes a build failure with clang: /usr/include/qt6/QtGui/qkeysequence.h:139:26: error: extra ';' after member function definition [-Werror,-Wextra-semi] 139 | Q_ENUM(SequenceMatch); | ^ We can't fix the issue, so ignore the warning in qcam. Signed-off-by: Laurent Pinchart Reviewed-by: Milan Zamazal Reviewed-by: Jacopo Mondi --- src/apps/qcam/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/apps/qcam/meson.build') diff --git a/src/apps/qcam/meson.build b/src/apps/qcam/meson.build index c7fcfbeb..f7c14064 100644 --- a/src/apps/qcam/meson.build +++ b/src/apps/qcam/meson.build @@ -36,7 +36,11 @@ qcam_resources = files([ 'assets/shader/shaders.qrc', ]) -qt6_cpp_args = [apps_cpp_args, '-DQT_NO_KEYWORDS'] +qt6_cpp_args = [ + apps_cpp_args, + '-DQT_NO_KEYWORDS', + '-Wno-extra-semi', +] resources = qt6.preprocess(moc_headers : qcam_moc_headers, qresources : qcam_resources, -- cgit v1.2.1