Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 1 | From 590bd5f81207bb55bd02b4a37f73a1f64dac452d Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 23 Jan 2023 13:20:58 -0800 |
| 4 | Subject: [PATCH] parser.h: Including missing <cstdint> |
| 5 | |
| 6 | This is needed from gcc-13+ see [1] |
| 7 | |
| 8 | Fixes |
| 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 | |
| 17 | Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Samples/pull/602] |
| 18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 19 | --- |
| 20 | framework/platform/parser.h | 1 + |
| 21 | 1 file changed, 1 insertion(+) |
| 22 | |
| 23 | diff --git a/framework/platform/parser.h b/framework/platform/parser.h |
| 24 | index 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 | -- |
| 36 | 2.39.1 |
| 37 | |