From patchwork Thu Oct 2 14:55:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 24553 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 19732C328C for ; Thu, 2 Oct 2025 14:55:13 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 16DA86B5F0; Thu, 2 Oct 2025 16:55:12 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Um13jlCn"; 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 68AA06B5A2 for ; Thu, 2 Oct 2025 16:55:10 +0200 (CEST) Received: from pb-laptop.local (185.221.142.146.nat.pool.zt.hu [185.221.142.146]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 64723929 for ; Thu, 2 Oct 2025 16:53:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1759416820; bh=QSfGtiblYnYUoxhRH71OeRwEB9uxXW1sBtVKiclsKfg=; h=From:To:Subject:Date:From; b=Um13jlCntp6rPdu7zQ6KSDJBSKnr/gbiJQoKyDpHihMdWIEP3kmlUfqfkNKBwvWfb 7lbVDd1/ME6L0D5SQvtyPgnsGWIaYabewJyV/mffI0cCvwBAVnSnWjA9T/23OOZfap gzrptnrbB/JmxIaDykfaApacAjKZNAW1mdziP01U= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1] libcamera: pipeline: rpi: Set `werror=false` for libpisp Date: Thu, 2 Oct 2025 16:55:06 +0200 Message-ID: <20251002145506.996443-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.51.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" By default libcamera is configured with `werror=true`, and this option can propagate into the subprojects. This can lead to compilation failures due to warnings in those subprojects. This is the case with libpisp. Since these issues are not directly fixable, set `werror=false` for libpisp. Signed-off-by: Barnabás Pőcze Reviewed-by: Laurent Pinchart --- src/libcamera/pipeline/rpi/pisp/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libcamera/pipeline/rpi/pisp/meson.build b/src/libcamera/pipeline/rpi/pisp/meson.build index 178df94c2..642080014 100644 --- a/src/libcamera/pipeline/rpi/pisp/meson.build +++ b/src/libcamera/pipeline/rpi/pisp/meson.build @@ -5,7 +5,9 @@ libcamera_internal_sources += files([ ]) librt = cc.find_library('rt', required : true) -libpisp_dep = dependency('libpisp', fallback : ['libpisp', 'libpisp_dep']) +libpisp_dep = dependency('libpisp', + fallback : ['libpisp', 'libpisp_dep'], + default_options : ['werror=false']) libcamera_deps += [libpisp_dep, librt]