mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
abseil-cpp: fix build with gcc-15 on host
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
committed by
Anuj Mittal
parent
938c8d28a2
commit
d90b295188
+34
@@ -0,0 +1,34 @@
|
||||
From af8424e2788446224a8b790d4a87aa06f4193320 Mon Sep 17 00:00:00 2001
|
||||
From: Christopher Fore <csfore@posteo.net>
|
||||
Date: Mon, 5 Aug 2024 12:09:18 -0700
|
||||
Subject: [PATCH] PR #1739: container/internal: Explicitly include <cstdint>
|
||||
|
||||
Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1739
|
||||
|
||||
GCC 15 will no longer include <cstdint> by default, resulting in build failures in projects that do not explicitly include it.
|
||||
|
||||
Merge faf1b03a591f06933da02976119da5743f428e4f into 9cb5e5d15c142e5cc43a2c1db87c8e4e5b6d38a5
|
||||
|
||||
Merging this change closes #1739
|
||||
|
||||
COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1739 from csfore:gcc-15-fix faf1b03a591f06933da02976119da5743f428e4f
|
||||
PiperOrigin-RevId: 659637669
|
||||
Change-Id: If14cb0e3522774cb700bd5a74abffb75feb7a0f5
|
||||
|
||||
Upstream-Status: Backport [20250127.0 809e5de7b92950849289236a5a09e9cb4f32c7b9]
|
||||
---
|
||||
absl/container/internal/container_memory.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/absl/container/internal/container_memory.h b/absl/container/internal/container_memory.h
|
||||
index 3262d4eb..ac01989d 100644
|
||||
--- a/absl/container/internal/container_memory.h
|
||||
+++ b/absl/container/internal/container_memory.h
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
+#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
#include <new>
|
||||
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
|
||||
file://abseil-ppc-fixes.patch \
|
||||
file://0003-Remove-neon-option-from-cross-compilation.patch \
|
||||
file://0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \
|
||||
file://0001-PR-1739-container-internal-Explicitly-include-cstdin.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Reference in New Issue
Block a user