mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
vulkan-samples: Include missing header cstdint for uint32_t
(From OE-Core rev: 47f6a75960b3af2be7f45fd06e2fb73549b6933b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,37 @@
|
|||||||
|
From 590bd5f81207bb55bd02b4a37f73a1f64dac452d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Mon, 23 Jan 2023 13:20:58 -0800
|
||||||
|
Subject: [PATCH] parser.h: Including missing <cstdint>
|
||||||
|
|
||||||
|
This is needed from gcc-13+ see [1]
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
|
||||||
|
../git/framework/platform/parser.h:282:43: error: 'uint32_t' does not name a type
|
||||||
|
282 | *type = static_cast<uint32_t>(number);
|
||||||
|
| ^~~~~~~~
|
||||||
|
../git/framework/platform/parser.h:21:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
|
||||||
|
|
||||||
|
[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Samples/pull/602]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
framework/platform/parser.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/framework/platform/parser.h b/framework/platform/parser.h
|
||||||
|
index 215f3d80..a5bd1344 100644
|
||||||
|
--- a/framework/platform/parser.h
|
||||||
|
+++ b/framework/platform/parser.h
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
|
+#include <cstdint>
|
||||||
|
#include <string>
|
||||||
|
#include <typeindex>
|
||||||
|
#include <vector>
|
||||||
|
--
|
||||||
|
2.39.1
|
||||||
|
|
||||||
@@ -9,6 +9,7 @@ SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=master;prot
|
|||||||
file://debugfix.patch \
|
file://debugfix.patch \
|
||||||
file://0001-Do-not-use-LFS64-functions-on-linux-musl.patch;patchdir=third_party/spdlog \
|
file://0001-Do-not-use-LFS64-functions-on-linux-musl.patch;patchdir=third_party/spdlog \
|
||||||
file://0001-Deprecate-u8string_view.patch;patchdir=third_party/spdlog \
|
file://0001-Deprecate-u8string_view.patch;patchdir=third_party/spdlog \
|
||||||
|
file://0001-parser.h-Including-missing-cstdint.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
UPSTREAM_CHECK_COMMITS = "1"
|
UPSTREAM_CHECK_COMMITS = "1"
|
||||||
|
|||||||
Reference in New Issue
Block a user