20e8a02477
Fixes the following error when building with gcc 13.x:
‘uintptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
Fixes:
http://autobuild.buildroot.net/results/73f17ec308b6fd20dabdb7e391a3f67793a14d5b/
(which happens with the target google-breakpad, but the issue can
also happen when building host-google-breakpad if the host system
uses gcc 13.x)
Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
[Thomas: use upstream fix, improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 08fa882d3c
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 7ea7ded187b4d739239f3ab7082fcd5a2ccc1eaa Mon Sep 17 00:00:00 2001
|
|
From: mingtaoxt xt <mingtaoxt@gmail.com>
|
|
Date: Wed, 19 Oct 2022 19:36:13 +0800
|
|
Subject: [PATCH] mainline version gcc-13 cannot use "uintptr_t" via "#include
|
|
<string>"
|
|
|
|
Change-Id: I0049bb92658b4226e32783ad4d8271787deef5f3
|
|
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3964166
|
|
Reviewed-by: Mike Frysinger <vapier@chromium.org>
|
|
Upstream: https://chromium.googlesource.com/breakpad/breakpad/+/7ea7ded187b4d739239f3ab7082fcd5a2ccc1eaa
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
---
|
|
src/client/linux/handler/minidump_descriptor.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/client/linux/handler/minidump_descriptor.h b/src/client/linux/handler/minidump_descriptor.h
|
|
index 4349b88f..d822c9d9 100644
|
|
--- a/src/client/linux/handler/minidump_descriptor.h
|
|
+++ b/src/client/linux/handler/minidump_descriptor.h
|
|
@@ -32,6 +32,7 @@
|
|
#include <assert.h>
|
|
#include <sys/types.h>
|
|
|
|
+#include <cstdint>
|
|
#include <string>
|
|
|
|
#include "client/linux/handler/microdump_extra_info.h"
|
|
--
|
|
2.43.0
|
|
|