mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 19:53:03 +01:00
Include cstdint for uint32_t definition Update to tip if trunk as it helps with GCC-15 fixes (From OE-Core rev: 1db86a3381c94951de44bb2b6ec840fd99a7d4be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
939 B
Diff
29 lines
939 B
Diff
From e40c14a3e007fac0e4f2e4164fdf14d1712355bd Mon Sep 17 00:00:00 2001
|
|
From: Sergei Trofimovich <slyich@gmail.com>
|
|
Date: Fri, 2 Aug 2024 22:44:21 +0100
|
|
Subject: [PATCH] SPIRV/SpvBuilder.h: add missing <cstdint> include
|
|
|
|
Without the change `glslang` build fails on upcoming `gcc-15` as:
|
|
|
|
In file included from /build/source/SPIRV/GlslangToSpv.cpp:45:
|
|
SPIRV/SpvBuilder.h:248:30: error: 'uint32_t' has not been declared
|
|
248 | Id makeDebugLexicalBlock(uint32_t line);
|
|
| ^~~~~~~~
|
|
|
|
Upstream-Status: Backport [https://github.com/KhronosGroup/glslang/commit/e40c14a3e007fac0e4f2e4164fdf14d1712355bd]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
SPIRV/SpvBuilder.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/SPIRV/SpvBuilder.h
|
|
+++ b/SPIRV/SpvBuilder.h
|
|
@@ -56,6 +56,7 @@ namespace spv {
|
|
}
|
|
|
|
#include <algorithm>
|
|
+#include <cstdint>
|
|
#include <map>
|
|
#include <memory>
|
|
#include <set>
|