From patchwork Sun Aug 4 06:03:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Trofimovich X-Patchwork-Id: 20754 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 08936C323E for ; Sun, 4 Aug 2024 10:59:42 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 191B663383; Sun, 4 Aug 2024 12:59:41 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fQpH2QCB"; dkim-atps=neutral Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3F69A6192D for ; Sun, 4 Aug 2024 08:04:34 +0200 (CEST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-426526d30aaso63020075e9.0 for ; Sat, 03 Aug 2024 23:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722751473; x=1723356273; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XpP4hXJnRS3ggHaoO9K8AxIJSiHCgaxZIzjuq1F8dR8=; b=fQpH2QCBwbZ/8J9PUmCQM8Xz67762ixxYMdRGa7SXQLoseNIEPahPmcKixRKQ7f0nC lRCpCWKl6L+RLvyd2t8VS0qgd/nNyv8fEB+AUXxXrk0hKRDVbX9Q6ea3hPc8sl3kYp4C 86WFWeHAKQh6NrtrDi/mSmgOZYT5oz9m3fR9yxLzxxl9h2Lmiopmxzcu1WLKNGZbt1C+ LQahMRgd/4x8pF1c3eaTAxyQK/abD0fjdAG8GDyVmg8rt2v56HR+362vi3CpaX7q2gKQ 3QP2TAxkT1njZ+m2nV0bJBocO8RzL5jFyKbN1gZLLlPuNx6c5fOrGc6y31VSNTp5+2Ty 9gxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722751473; x=1723356273; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XpP4hXJnRS3ggHaoO9K8AxIJSiHCgaxZIzjuq1F8dR8=; b=K0heBHlQiH+lU6m9lEsNu4MHsBg0Of6qGDsyOHU5H2csempeaePR4bba4GyB5S3DGA 53phprR0VCZXE/28yobEKfZANZg1lK7TfhxIRTFIDviO8Vpvji7Enzv3pMaejGPJKyux 9wfBOZl5IsMB1VF41RL/Hl9PCbxzMqNCjnYyITv+DSkV47BUpEDjmL8v/T2xost12oRO vE5LN3xen4OL1+f4qgufwiP2vPTJGRR9y/LWP9XRTsXRONyqkEdcNdFnDa8i7ZWyMHPR 0cnhQdJ5o6LfLAqnuEY9XPmRkIvesnGBFjnrmFX5NGlVzP4gbYAUZebyQoRR/AfkoH01 MgFQ== X-Gm-Message-State: AOJu0YxA2mSqNVQd3x0lqjCaCdkFYd03zon89HkfN4P9XdmHtNQyIdWi wFEqLKWm/Eh6NqAdO+uFjDaL9MqwT1KPLqvbGVXJ7XzZkQh71Ycu X-Google-Smtp-Source: AGHT+IHP2vvddWZaCL9QXj5jzBwLzVJ9M5GsCMh0/ptBxWgR6zSyOMJv8wnsZ/dmvrIgohFMyg1lRg== X-Received: by 2002:a05:600c:350c:b0:426:593c:9351 with SMTP id 5b1f17b1804b1-428e6f866acmr52388685e9.6.1722751473174; Sat, 03 Aug 2024 23:04:33 -0700 (PDT) Received: from nz.home (host51-14-2-49.range51-14.btcentralplus.com. [51.14.2.49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428e6e0357asm87717695e9.12.2024.08.03.23.04.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Aug 2024 23:04:32 -0700 (PDT) Received: by nz.home (Postfix, from userid 1000) id CB4661ECC58D27; Sun, 04 Aug 2024 07:04:31 +0100 (BST) From: Sergei Trofimovich To: libcamera-devel@lists.libcamera.org Cc: Sergei Trofimovich Subject: [PATCH 1/2] include/libcamera/base/file.h: add missing include Date: Sun, 4 Aug 2024 07:03:59 +0100 Message-ID: <20240804060400.2790695-1-slyich@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 04 Aug 2024 12:59:39 +0200 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" Without the change the build fails on upcoming `gcc-15` as: In file included from ../src/libcamera/base/file.cpp:8: ../include/libcamera/base/file.h:62:33: error: 'uint8_t' was not declared in this scope 62 | ssize_t read(const Span &data); | ^~~~~~~ --- include/libcamera/base/file.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libcamera/base/file.h b/include/libcamera/base/file.h index 5637934c..192668ab 100644 --- a/include/libcamera/base/file.h +++ b/include/libcamera/base/file.h @@ -7,6 +7,7 @@ #pragma once +#include #include #include From patchwork Sun Aug 4 06:04:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Trofimovich X-Patchwork-Id: 20755 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 E9B7BC323E for ; Sun, 4 Aug 2024 10:59:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id EFD0D63380; Sun, 4 Aug 2024 12:59:41 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mDiRAzdI"; dkim-atps=neutral Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 82A046337D for ; Sun, 4 Aug 2024 08:04:34 +0200 (CEST) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-428178fc07eso59778275e9.3 for ; Sat, 03 Aug 2024 23:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722751474; x=1723356274; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZQH06umst1vpCCCQA+mZZGcHZyEeON547J4Y/sFncTo=; b=mDiRAzdIq5vNKZDIuRGai8bEBxjgFmKtmH9H2+BggSkvQ7ZQh4r3MSpm1t/2w8OSUV 25gjbrOV7myVPHsx69chPlA/tvg2TLC8FVJBP8cxu71Tj8WJH/lf5R5XfjOd5jod4G9m 44wCwrmbCH1d7C4Aae96ThKHSSfcsBl76Jp/t6Ldqp94LvH0PJvNzEewIcu3g2U09uwG /7Wp+bVpO55higenQQzxzSXF6LzSZnPN7fecFab/Uy6HFZIm1iFSoVhlTMZOtLSDqh3Y dzRNdG4x0uTXXXIoUCp+OcfXFixDueaD1FBimxjpUlIKp/5obFhnKb9iYdcnWrZVAssr 090A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722751474; x=1723356274; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZQH06umst1vpCCCQA+mZZGcHZyEeON547J4Y/sFncTo=; b=cBGIAHjjqhPoKNr292z1ft6rI6QUSKPtfBUI6cV/mDDDldoAnyHJ3DBeJlt2pyXQBq lSxeqOF3fFEaA8hUWKNNpaB1d+5mHulR84elOh1K0PClu5b5DH3vgV3n0NCXdmkGpTg9 LoBovgSi6exQCwb553Z6BL80KQw6KSajZq/JTEUfpdgklN5f6cTSl3ubpZ5pKG3s4AJS lNTlrWZEEeGD8ReZ5HiOSuLffCojJ12xUBwBD1InWE9EC/Cghx/82bnVUdmKC6p0y1P4 oRazn7ahw21xBbaE0zDZUWEjzHxdespSmN6Esq/U78IVguXCsehf+TL27xadW7XRWQBK 2PiQ== X-Gm-Message-State: AOJu0Yxbhdi2suT6CPd7VZrJ0jKBevKMRVM6v3hqfRdUpT1dx4Ymx/sQ XgUunCJsuwhbeZ1tfK/0o7HMFG1E+MryM0olclWmkAiQGHi2Vf7xQ3wgOQ== X-Google-Smtp-Source: AGHT+IENz9EVZUMXCkD80sjKx1Hzgf7Ip4KsfNteYgOYg8/xK+PpyfV/liJBRaI+eOK+5dzorClsaw== X-Received: by 2002:a05:600c:4713:b0:426:5dd0:a1ea with SMTP id 5b1f17b1804b1-428e6b7f3f1mr51817115e9.28.1722751473759; Sat, 03 Aug 2024 23:04:33 -0700 (PDT) Received: from nz.home ([2a00:23c8:a613:101:c6ba:9f80:f15f:da2c]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4282bb64006sm148862755e9.30.2024.08.03.23.04.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Aug 2024 23:04:33 -0700 (PDT) Received: by nz.home (Postfix, from userid 1000) id 03A631ECC58D29; Sun, 04 Aug 2024 07:04:33 +0100 (BST) From: Sergei Trofimovich To: libcamera-devel@lists.libcamera.org Cc: Sergei Trofimovich Subject: [PATCH 2/2] include/libcamera/internal/yaml_parser.h: add missing include Date: Sun, 4 Aug 2024 07:04:00 +0100 Message-ID: <20240804060400.2790695-2-slyich@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240804060400.2790695-1-slyich@gmail.com> References: <20240804060400.2790695-1-slyich@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 04 Aug 2024 12:59:39 +0200 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" Without the change the build fails on upcoming `gcc-15` as: In file included from ../src/libcamera/yaml_parser.cpp:8: ../include/libcamera/internal/yaml_parser.h:183:41: error: 'uint8_t' was not declared in this scope 183 | std::is_same_v || | ^~~~~~~ --- include/libcamera/internal/yaml_parser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libcamera/internal/yaml_parser.h b/include/libcamera/internal/yaml_parser.h index e38a2df9..f8e4f841 100644 --- a/include/libcamera/internal/yaml_parser.h +++ b/include/libcamera/internal/yaml_parser.h @@ -7,6 +7,8 @@ #pragma once +#include + #include #include #include