{"id":23065,"url":"https://patchwork.libcamera.org/api/1.1/patches/23065/?format=json","web_url":"https://patchwork.libcamera.org/patch/23065/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20250328040338.71440-1-tho3.nguyen@lge.com>","date":"2025-03-28T04:03:37","name":"dma_buf_allocator.h: Fix build with gcc-15","commit_ref":null,"pull_url":null,"state":"rejected","archived":false,"hash":"dfb5a15fad5f5335f12afb11c7d2a9adb280825f","submitter":{"id":221,"url":"https://patchwork.libcamera.org/api/1.1/people/221/?format=json","name":"THO DAT NGUYEN/LGEDV ADVANCED PLATFORM TEAM","email":"tho3.nguyen@lge.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/23065/mbox/","series":[{"id":5088,"url":"https://patchwork.libcamera.org/api/1.1/series/5088/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5088","date":"2025-03-28T04:03:37","name":"dma_buf_allocator.h: Fix build with gcc-15","version":1,"mbox":"https://patchwork.libcamera.org/series/5088/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/23065/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/23065/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 7CDE3C323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 28 Mar 2025 06:24:56 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3456C6897C;\n\tFri, 28 Mar 2025 07:24:55 +0100 (CET)","from lgeamrelo11.lge.com (lgeamrelo11.lge.com [156.147.23.51])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A8F9D614E7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 28 Mar 2025 05:03:43 +0100 (CET)","from unknown (HELO lgemrelse6q.lge.com) (156.147.1.121)\n\tby 156.147.23.51 with ESMTP; 28 Mar 2025 13:03:40 +0900","from unknown (HELO tho3-nguyen-weboscsm.bee-live.svc.cluster.local)\n\t(10.185.60.40)\n\tby 156.147.1.121 with ESMTP; 28 Mar 2025 13:03:39 +0900"],"X-Original-SENDERIP":["156.147.1.121","10.185.60.40"],"X-Original-MAILFROM":["tho3.nguyen@lge.com","tho3.nguyen@lge.com"],"From":"\"tho3.nguyen\" <tho3.nguyen@lge.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"\"tho3.nguyen\" <tho3.nguyen@lge.com>","Subject":"[PATCH] dma_buf_allocator.h: Fix build with gcc-15","Date":"Fri, 28 Mar 2025 13:03:37 +0900","Message-Id":"<20250328040338.71440-1-tho3.nguyen@lge.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Mailman-Approved-At":"Fri, 28 Mar 2025 07:24:54 +0100","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"To fix:\n...\nIn file included from ../git/src/libcamera/dma_buf_allocator.cpp:9:\n../git/include/libcamera/internal/dma_buf_allocator.h:66:19: error: 'uint64_t' has not been declared\n   66 |         void sync(uint64_t step);\n      |                   ^~~~~~~~\n../git/include/libcamera/internal/dma_buf_allocator.h:17:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'\n...\n\nSigned-off-by: tho3.nguyen <tho3.nguyen@lge.com>\n---\n include/libcamera/internal/dma_buf_allocator.h | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/include/libcamera/internal/dma_buf_allocator.h b/include/libcamera/internal/dma_buf_allocator.h\nindex 13600915..c22b9bbd 100644\n--- a/include/libcamera/internal/dma_buf_allocator.h\n+++ b/include/libcamera/internal/dma_buf_allocator.h\n@@ -11,6 +11,7 @@\n #include <stdint.h>\n #include <string>\n #include <vector>\n+#include <cstdint>\n \n #include <libcamera/base/flags.h>\n #include <libcamera/base/shared_fd.h>\n","prefixes":[]}