From patchwork Sun Aug 4 20:55:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Trofimovich X-Patchwork-Id: 20761 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 C9654C323E for ; Sun, 4 Aug 2024 20:55:59 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C275D63381; Sun, 4 Aug 2024 22:55:58 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GaTCqN37"; dkim-atps=neutral Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 87CF16192D for ; Sun, 4 Aug 2024 22:55:57 +0200 (CEST) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3685a564bafso5010408f8f.3 for ; Sun, 04 Aug 2024 13:55:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722804957; x=1723409757; 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=DGDqQNEpkV1QdpvmjIravZ90YQL5ZMCqwH+p8llZBIs=; b=GaTCqN375yrrDV4nrL7MhZmBz1wAv+Pi3lY6BYF24eGkAAA6g+QnNIGbrHAAhgj+lL 9TeWq0O0Gf95yYJQC6plT7dCmIXC9YxnpAVs+nU4yyBXwCA6C/7Y2pR/yF6oIFxmCGRi 2+Fm+vVKF0QzCglHPpZO2YuUaNqPtbKjP/k/tQ+JYU98RYqx9mn2JHwSaVvxUv9Qk3V3 wnlMll7sM6EfeucXpGIThB3afoISF2d1ARFZ1JoMdu2sRNMo8bGGNRrXIzOAiOHyf71h tU45cUJ0f8u0iIFtJcMDlXla+WwwkfWQQh8PO+HUvmABC4WHjq9bDPxOpAqHNAL3AYQs Ngew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722804957; x=1723409757; 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=DGDqQNEpkV1QdpvmjIravZ90YQL5ZMCqwH+p8llZBIs=; b=rYigjt4RmLG6ML6ealEPTVQ8kUmdrwDEPcBdKdKZbB1irZLkuuIJiw/EAYj4wdMBC+ ALVmVrniHCl0lWq8ItSVzJ+kAhdFf+xra3SmL8Fe+L/kJW8Ypku1Mq8FO75ORPD9HUus NyJfMbpinYeT6yS4i7/R+Fz3njI3ESWRmMz27+W5q8j+QNsoYXcTYZHRBtN9dd4+SoMK qR0RY+5Tm7KRP6/Ij0QIuVGQvKHax/rr5R6RMcJvfspgyBHhLUmOS7bLojIaiRwv/MlQ 8ib+ixxPevGhdB6+fA1Rsq/vQ6mJlm1gx/Q0sKdY4rC6Jy7NBN1S0QbA4jB3e8fjizpS L3yQ== X-Forwarded-Encrypted: i=1; AJvYcCX+zOvnFpbNxTjpRezE/0G5/JMLq/6BgWVjBNvKJhafZTrxxANBPtx4pdM9hd3W6llnT9wksrYLfZdkZkMZVaxsoLKblTS7Pjfo9qVjFon9yLfwvg== X-Gm-Message-State: AOJu0Ywux8IK83VUC+h4Kv41oL/Q0zHwO4cnoDzsFrSsiOCxrr7DgqMd 2wIPlJmxNVSxMQy3tX6HrIt6fFzNsCYbOVr7hz0Js3d1gYI+Cg7O X-Google-Smtp-Source: AGHT+IFkARC7F6tmjEufHPs9xeKZzU+TNoASrSDkcL2qgUpzPIoHk3XKfmEnwp51nI25WWgTWFu26g== X-Received: by 2002:a05:6000:a8b:b0:368:327c:372b with SMTP id ffacd0b85a97d-36bbc0dcf5fmr7154719f8f.19.1722804956569; Sun, 04 Aug 2024 13:55:56 -0700 (PDT) Received: from nz.home ([2a00:23c8:a613:101:984c:8b0c:b2fc:a03]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd059e18sm7830359f8f.68.2024.08.04.13.55.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 13:55:55 -0700 (PDT) Received: by nz.home (Postfix, from userid 1000) id 16DF71ECE1C282; Sun, 04 Aug 2024 21:55:55 +0100 (BST) From: Sergei Trofimovich To: Laurent Pinchart , libcamera-devel@lists.libcamera.org Cc: Sergei Trofimovich Subject: [PATCH v2 1/2] libcamera: add missing include to base/file.h Date: Sun, 4 Aug 2024 21:55:43 +0100 Message-ID: <20240804205544.2500138-1-slyich@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240804114336.GK3319@pendragon.ideasonboard.com> References: <20240804114336.GK3319@pendragon.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" 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); | ^~~~~~~ Signed-off-by: Sergei Trofimovich Reviewed-by: Laurent Pinchart Reviewed-by: Daniel Scally --- 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 20:55:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Trofimovich X-Patchwork-Id: 20762 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 5404DC323E for ; Sun, 4 Aug 2024 20:56:02 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7E7856195E; Sun, 4 Aug 2024 22:55:59 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cgGRYmsZ"; dkim-atps=neutral Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1C9486195E for ; Sun, 4 Aug 2024 22:55:58 +0200 (CEST) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-36bd70f6522so535974f8f.1 for ; Sun, 04 Aug 2024 13:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722804958; x=1723409758; 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=65JpkEfpoNnUVXbI5RjM8GAA+30xpa3NMioqJeOZ6/8=; b=cgGRYmsZAdHmDEiSbsABSkzussD11rzZVXEGkhMfYYzKlyBQeoEu0t4twNVKK5K+6O /c7kkxaUBGa7RvRqIoAfh+WK/KxBjO4+VESpZig0/0cuURmxerq6O7nwZ9gBTvn/pYXM icXnBliPAmDLFg1LcH38rY0CGoYDvy1JBPLq85xrJI9HiI2ck3wX4MtkzOBcMgfGv30G FnUDZGZyt655Z0g1VEVZIcUUVk/YcQ1pPX9rEh5syw4lwpP4OYLE6M85TVVh4L5ARY41 uFFXyvCsy9gK4VEcZBzN6wz4fUMhC11bxVtCj4CSbjPMRxYOyd7y+3t0qeEgE5JKdIjI p4zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722804958; x=1723409758; 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=65JpkEfpoNnUVXbI5RjM8GAA+30xpa3NMioqJeOZ6/8=; b=tvcvvmly9N/T4eKzAY3y0Jqj3iPH4niIVlrsFu3HgkowEYInhVoE/DUzWj/JhseIoC P1JixJ0rs1IUcq6S+8WL/rdrE2gPyXJMruQiuXQKD9VnqJJ6Y+7d+wCU+m5xQxXtEnHQ gGYtBZKt/Gw6WeY+5VaKoe96qVqYJIVSe7cMiLlT0HF0Tt9RwfrzbV3bX0RUqpa606wD VH/34jzwAsEuFwUCvXGL+jxSs0JKJvgn9xaXwk3tYouumI/jnFa8LwDSVTKZs2hccX2u x/mr/hEWwEIHs24gS774KwDOekU9zaBrHGkjvvitJJcX0ohTmcQQ8FhkEH9s5maSXvBU K5Dg== X-Forwarded-Encrypted: i=1; AJvYcCXZwtfRtUvkS5OWSy9vg34W/EQ5W3arSPnDbmlzlzyoDw3vgEfD70UrkZdl6k9Fywp5uKZBqbkN52zEgYQqixPTscJkwvTicTlpLfdGdGOpvb/m2A== X-Gm-Message-State: AOJu0YwFszI2TM7x89A5imlNRJjDwEWu8BexbfJlbY1j7OXsALlZ7NAl ttYW4c4nS5rgiyQg4uQglhOYypmnBl+ieFOJg3Xen3Fxii/j6Mbb97FPew== X-Google-Smtp-Source: AGHT+IHKzMPtS3QhhWIMbplQfIsvePB75Ch0KpG+TqaWH6mKNsj4YgYGby5Xf3dNUS6+Ecs1QUI/1A== X-Received: by 2002:adf:f08c:0:b0:367:f054:7aba with SMTP id ffacd0b85a97d-36bbc14aabcmr5804567f8f.41.1722804957435; Sun, 04 Aug 2024 13:55:57 -0700 (PDT) Received: from nz.home ([2a00:23c8:a613:101:984c:8b0c:b2fc:a03]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbcf0c2f3sm7819992f8f.10.2024.08.04.13.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 13:55:57 -0700 (PDT) Received: by nz.home (Postfix, from userid 1000) id AE6FA1ECE1C841; Sun, 04 Aug 2024 21:55:56 +0100 (BST) From: Sergei Trofimovich To: Laurent Pinchart , libcamera-devel@lists.libcamera.org Cc: Sergei Trofimovich Subject: [PATCH v2 2/2] libcamera: add missing include to internal/yaml_parser.h Date: Sun, 4 Aug 2024 21:55:44 +0100 Message-ID: <20240804205544.2500138-2-slyich@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240804205544.2500138-1-slyich@gmail.com> References: <20240804114336.GK3319@pendragon.ideasonboard.com> <20240804205544.2500138-1-slyich@gmail.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" 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 || | ^~~~~~~ Signed-off-by: Sergei Trofimovich Reviewed-by: Laurent Pinchart Reviewed-by: Daniel Scally --- 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