From patchwork Wed Jan 28 12:40:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 26009 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 01F85C3200 for ; Wed, 28 Jan 2026 12:40:18 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 10DDA61FD0; Wed, 28 Jan 2026 13:40:18 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="hL53MEcC"; 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 81A4261FC4 for ; Wed, 28 Jan 2026 13:40:16 +0100 (CET) Received: from Monstersaurus.hippo-penny.ts.net (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 78DDF73B; Wed, 28 Jan 2026 13:39:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1769603979; bh=NAvmrtswaN0R3VXKkBEEF1fZKgaG5pNpxOtCc7sXMPU=; h=From:To:Cc:Subject:Date:From; b=hL53MEcCUkxdRmo2GPexCBVz2sqY0uJZ4nQPDA+MNABv3z4dMgj3hdLttkeUAx4mt 12SjG7dbMY1cd5zUpXQN3N49RkMYNukNq9kH5DfepzZwaVwghz9xraq5q1CghXrINx 0q8GnVa+DytYTk3CUOMlS27MK4KN+JjopycdNgOI= From: Kieran Bingham To: libcamera devel Cc: Kieran Bingham Subject: [PATCH] apps: qcam: Disable -Wsfinae-incomplete Date: Wed, 28 Jan 2026 12:40:11 +0000 Message-ID: <20260128124011.104617-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.52.0 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" GCC-16 has updated the warnings enabled and now includes -Wsfinae-incomplete triggering breakage in the included headers from Qt6: /usr/include/qt6/QtCore/qregularexpression.h:31:21: error: defining ‘QRegularExpression’, which previously failed to be complete in a SFINAE context [-Werror=sfinae-incomplete=] This is a Qt header issue outside of libcamera’s control. Disable the warning for qcam to restore buildability with newer GCC versions. Signed-off-by: Kieran Bingham Reviewed-by: Barnabás Pőcze Reviewed-by: Laurent Pinchart --- I see there's a conditional section to only disable some warnings for specific versions, but I have no indication here as to when or if this warning will be fixed - so I've chosen to just put it directly into the main flags to disable the warning. It's out side of our control, and doesn't impact what we can do. src/apps/qcam/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/qcam/meson.build b/src/apps/qcam/meson.build index 33600095ff9d..8eb815eed863 100644 --- a/src/apps/qcam/meson.build +++ b/src/apps/qcam/meson.build @@ -40,6 +40,7 @@ qt6_cpp_args = [ apps_cpp_args, '-DQT_NO_KEYWORDS', '-Wno-extra-semi', + '-Wno-sfinae-incomplete', ] # gcc 12 and 13 output a false positive variable shadowing warning with Qt