From patchwork Mon Aug 31 13:23:10 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: 28152 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 BFAEBC3345 for ; Mon, 31 Aug 2026 13:23:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A79C768536; Mon, 31 Aug 2026 15:23:19 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="uCcGxsQA"; 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 D5959684A6 for ; Mon, 31 Aug 2026 15:23:15 +0200 (CEST) Received: from pb-laptop.local (185.221.143.32.nat.pool.zt.hu [185.221.143.32]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2B163324 for ; Mon, 31 Aug 2026 15:21:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1788182506; bh=oYHJtpkQwXBuxim9Uz/FW4iEEM+IZjrRfo/f5lELIbI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uCcGxsQAA/+msykZG0TbJlA/nrcIc6n1ivtGp6ErpZHZ7H05D36fExc7b13zYxmgr X+3wZcvf9CGeOkzkfzl9qpH9Fz3HMeT3mQrvCnrXB6H7oP6vs+TTHHZEsRAPqz9Czq fWjugUxkdVaGJenjAl8oTX5vimG1PUGImm/POL0E= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v2 1/3] meson: Increase required compiler versions Date: Mon, 31 Aug 2026 15:23:10 +0200 Message-ID: <20260831132312.619946-2-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260831132312.619946-1-barnabas.pocze@ideasonboard.com> References: <20260831132312.619946-1-barnabas.pocze@ideasonboard.com> 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 10 appears to be the first compiler version that provides the `` header in its libstdc++. So require at least gcc 10. The clang situation is more complicated because it can use different standard libraries, but libc++ has provided `` even in llvm 7, so keep the version requirement as is. Signed-off-by: Barnabás Pőcze Reviewed-by: Kieran Bingham --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index d8e78ed6c0..37fe9ce4f4 100644 --- a/meson.build +++ b/meson.build @@ -154,8 +154,8 @@ if cc.get_id() == 'clang' endif if cc.get_id() == 'gcc' - if cc.version().version_compare('<9') - error('gcc version is too old, libcamera requires 9.0 or newer') + if cc.version().version_compare('<10') + error('gcc version is too old, libcamera requires 10.0 or newer') endif # In C++20 mode, prior to gcc 11, object slicing in a return statement didn't