These changes are needed to build with gcc-13
a-ucontrol opened this issue · 2 comments
a-ucontrol commented
Hi!
These changes are needed to build with gcc-13
diff -Naur ZLMediaKit/3rdpart/ZLToolKit/src/Util/MD5.h ZLMediaKit-m/3rdpart/ZLToolKit/src/Util/MD5.h
--- ZLMediaKit/3rdpart/ZLToolKit/src/Util/MD5.h 2023-05-30 18:46:29.000000000 +0300
+++ ZLMediaKit-m/3rdpart/ZLToolKit/src/Util/MD5.h 2023-05-30 21:29:13.567177409 +0300
@@ -36,6 +36,7 @@
#include <string>
#include <iostream>
+#include <cstdint>
namespace toolkit {
diff -Naur ZLMediaKit/3rdpart/ZLToolKit/src/Util/NoticeCenter.h ZLMediaKit-m/3rdpart/ZLToolKit/src/Util/NoticeCenter.h
--- ZLMediaKit/3rdpart/ZLToolKit/src/Util/NoticeCenter.h 2023-05-30 18:46:29.000000000 +0300
+++ ZLMediaKit-m/3rdpart/ZLToolKit/src/Util/NoticeCenter.h 2023-05-30 21:20:31.557269174 +0300
@@ -17,6 +17,7 @@
#include <exception>
#include <functional>
#include <unordered_map>
+#include <stdexcept>
#include "function_traits.h"
namespace toolkit {
xia-chu commented
Thanks! would you please submit a pull request to zltookit?
a-ucontrol commented
Thanks!