From patchwork Mon Jul 29 17:55:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 20716 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 8CAFBC323E for ; Mon, 29 Jul 2024 17:56:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C998F63369; Mon, 29 Jul 2024 19:56:22 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="n11mIwOv"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3ED0661984 for ; Mon, 29 Jul 2024 19:56:21 +0200 (CEST) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1BE5418D for ; Mon, 29 Jul 2024 19:55:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1722275734; bh=FsuncHydiRgu4jFlExiVfo0qrWBlqTdKsZuBNqZKXYA=; h=From:To:Subject:Date:From; b=n11mIwOvXKtmpchsJ+QRPQ1l/LthG5QXiA7Ep1J5Yr+Jumt6YSNQ1nXay2tc7RhDv 7jB5NAVYbnRZBAcWRB/3br0cAPNA4dchiIrUwC2WkeVNaG7Etsc28Bg1PuHQWVqWL5 c3rHxunzDUAfOlW37rgHyXUpAc5R6UWbeC48iGJs= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH] apps: qcam: Disable -Wextra-semi Date: Mon, 29 Jul 2024 20:55:59 +0300 Message-ID: <20240729175559.10512-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.44.2 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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(-) base-commit: c9152bad5ce905f5a31dbd05b40195f02c0cc2a9 diff --git a/src/apps/qcam/meson.build b/src/apps/qcam/meson.build index c7fcfbeb6f61..f7c140643373 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,