blob: 3f6b37dce174befbe930bf4b97984f41b341150c [file] [log] [blame]
Andrew Geisslerc5535c92023-01-27 16:10:19 -06001From 590bd5f81207bb55bd02b4a37f73a1f64dac452d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Jan 2023 13:20:58 -0800
4Subject: [PATCH] parser.h: Including missing <cstdint>
5
6This is needed from gcc-13+ see [1]
7
8Fixes
9
10../git/framework/platform/parser.h:282:43: error: 'uint32_t' does not name a type
11 282 | *type = static_cast<uint32_t>(number);
12 | ^~~~~~~~
13../git/framework/platform/parser.h:21:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
14
15[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
16
17Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Samples/pull/602]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 framework/platform/parser.h | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/framework/platform/parser.h b/framework/platform/parser.h
24index 215f3d80..a5bd1344 100644
25--- a/framework/platform/parser.h
26+++ b/framework/platform/parser.h
27@@ -18,6 +18,7 @@
28 #pragma once
29
30 #include <cassert>
31+#include <cstdint>
32 #include <string>
33 #include <typeindex>
34 #include <vector>
35--
362.39.1
37