-
Notifications
You must be signed in to change notification settings - Fork 8
/
fix-gcc13-build.patch
65 lines (56 loc) · 2.04 KB
/
fix-gcc13-build.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
commit 27eb0f3116921492e183ad3aa685ddb147ed7183
Author: Gwyn Ciesla <[email protected]>
Date: Thu Feb 23 08:56:27 2023 -0600
gcc13 fixes
diff --git a/lib/graphics_engine/include/vk_mem_alloc.h b/lib/graphics_engine/include/vk_mem_alloc.h
index d4b683a75..ac82aedb1 100644
--- a/lib/graphics_engine/include/vk_mem_alloc.h
+++ b/lib/graphics_engine/include/vk_mem_alloc.h
@@ -20,6 +20,8 @@
// THE SOFTWARE.
//
+#include <cstdio>
+
#ifndef AMD_VULKAN_MEMORY_ALLOCATOR_H
#define AMD_VULKAN_MEMORY_ALLOCATOR_H
diff --git a/lib/graphics_engine/src/ge_vulkan_command_loader.cpp b/lib/graphics_engine/src/ge_vulkan_command_loader.cpp
index a1e5b3a71..13cadd63d 100644
--- a/lib/graphics_engine/src/ge_vulkan_command_loader.cpp
+++ b/lib/graphics_engine/src/ge_vulkan_command_loader.cpp
@@ -10,6 +10,7 @@
#include <mutex>
#include <stdexcept>
#include <thread>
+#include <stdexcept>
#include "../source/Irrlicht/os.h"
diff --git a/lib/graphics_engine/src/ge_vulkan_depth_texture.cpp b/lib/graphics_engine/src/ge_vulkan_depth_texture.cpp
index 4a5d3d391..0411c617d 100644
--- a/lib/graphics_engine/src/ge_vulkan_depth_texture.cpp
+++ b/lib/graphics_engine/src/ge_vulkan_depth_texture.cpp
@@ -1,3 +1,5 @@
+#include <stdexcept>
+
#include "ge_vulkan_depth_texture.hpp"
#include "ge_main.hpp"
diff --git a/lib/graphics_engine/src/ge_vulkan_mesh_cache.cpp b/lib/graphics_engine/src/ge_vulkan_mesh_cache.cpp
index f510f9181..a821ee4a9 100644
--- a/lib/graphics_engine/src/ge_vulkan_mesh_cache.cpp
+++ b/lib/graphics_engine/src/ge_vulkan_mesh_cache.cpp
@@ -12,6 +12,7 @@
#include <cassert>
#include <stdexcept>
#include <vector>
+#include <stdexcept>
namespace GE
{
diff --git a/lib/graphics_engine/src/ge_vulkan_skybox_renderer.cpp b/lib/graphics_engine/src/ge_vulkan_skybox_renderer.cpp
index fe7fcc455..82977f007 100644
--- a/lib/graphics_engine/src/ge_vulkan_skybox_renderer.cpp
+++ b/lib/graphics_engine/src/ge_vulkan_skybox_renderer.cpp
@@ -13,6 +13,7 @@
#include <cstdint>
#include <stdexcept>
#include <unordered_map>
+#include <stdexcept>
namespace GE
{