Группа :: Обучение
Пакет: kumir2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0001-Fixed-build-with-GCC-13.x.patch
Скачать
Скачать
From da7bb0911fe83dd7633dfec7d1430c853df6c379 Mon Sep 17 00:00:00 2001
From: Andrey Cherepanov <cas@altlinux.org>
Date: Mon, 3 Jul 2023 11:02:00 +0300
Subject: [PATCH] Fixed build with GCC 13.x
uint32_t is defined in cstdint header and requires include this header
explicitly.
---
src/kumir2-libs/vm/vm_breakpoints_table.hpp | 1 +
src/kumir2-libs/vm/vm_instruction.hpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/kumir2-libs/vm/vm_breakpoints_table.hpp b/src/kumir2-libs/vm/vm_breakpoints_table.hpp
index 4e50a694..55453260 100644
--- a/src/kumir2-libs/vm/vm_breakpoints_table.hpp
+++ b/src/kumir2-libs/vm/vm_breakpoints_table.hpp
@@ -4,6 +4,7 @@
#include <map>
#include <utility>
#include <string>
+#include <cstdint>
namespace VM
{
diff --git a/src/kumir2-libs/vm/vm_instruction.hpp b/src/kumir2-libs/vm/vm_instruction.hpp
index 0f52cd19..850c2460 100644
--- a/src/kumir2-libs/vm/vm_instruction.hpp
+++ b/src/kumir2-libs/vm/vm_instruction.hpp
@@ -2,6 +2,7 @@
#define BYTECODEGENERATOR_INSTRUCTION_H
#include <string>
+#include <cstdint>
#include <map>
#include <utility>
--
2.33.8