From patchwork Mon Oct 12 13:37:46 2026 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: 28438 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 7FA3BBDCB6 for ; Mon, 12 Oct 2026 13:37:52 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 93FCF68A2D; Mon, 12 Oct 2026 15:37:51 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="VOpYuwdT"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E683068A2D for ; Mon, 12 Oct 2026 15:37:49 +0200 (CEST) Received: from pb-laptop.local (185.221.143.22.nat.pool.zt.hu [185.221.143.22]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0EA9A22B for ; Mon, 12 Oct 2026 15:35:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1791812149; bh=kmYKdVKp54GIGzKfmXxtbQP2kpvc3IwI5WIUFg4icOU=; h=From:To:Subject:Date:From; b=VOpYuwdT9Zre1B4TBM+oCc9BGbdfokhRr4XtP778NlRLwc6BeN/m4vFUL3OiLx3PL bwthzMXV0ijp2yTv/56PcLzghj44VgRz+8y+Mo/dzL/xhvMNdG+WWGJBizZ5tqd/Cv TTDHlToIsQnPWauv+mBqWCx/hs5dK70f/DLaMjL4= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [libcamera-ci] [PATCH v1] Enable `_LIBCPP_REMOVE_TRANSITIVE_INCLUDES` Date: Mon, 12 Oct 2026 15:37:46 +0200 Message-ID: <20261012133746.567785-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.56.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" As iwyu is currently not used to check includes, enable this libc++ feature to catch more issues related to missing includes. Link: https://patchwork.libcamera.org/patch/28400/ Link: https://libcxx.llvm.org/UserDocumentation.html#libc-configuration-macros Signed-off-by: Barnabás Pőcze Reviewed-by: Kieran Bingham --- Example of a failed pipeline due to this: https://gitlab.freedesktop.org/pobrn/libcamera/-/jobs/112422232#L928 --- .gitlab-ci/meson/libc++.native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.56.0 diff --git a/.gitlab-ci/meson/libc++.native b/.gitlab-ci/meson/libc++.native index c850a20..d2170ef 100644 --- a/.gitlab-ci/meson/libc++.native +++ b/.gitlab-ci/meson/libc++.native @@ -1,5 +1,5 @@ # SPDX-License-Identifier: CC0-1.0 [built-in options] -cpp_args = ['-stdlib=libc++'] +cpp_args = ['-stdlib=libc++', '-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES=1'] cpp_link_args = ['-stdlib=libc++']