1
0

fix: fix clang compile error

- fix the include of stacktrace error.
- fix env include issues.
- fix wrong include for libcxx enumerate patch.
- fix libcxx enumerate patch build issue.
This commit is contained in:
2025-12-20 22:32:18 +08:00
parent b8f794a879
commit 8e9f3b17a4
5 changed files with 91 additions and 227 deletions

View File

@@ -1,11 +1,16 @@
#include "panic.hpp"
#include "macro/stl_detector.hpp"
#include "carton/termcolor.hpp"
#include "patch/stream.hpp"
#include "patch/libcxx/stacktrace.hpp"
#include <cstdlib>
#include <iomanip>
#include <iostream>
#if defined(YYCC_STL_CLANGSTL)
#include "patch/libcxx/stacktrace.hpp"
#else
#include <stacktrace>
#endif
#define TERMCOLOR ::yycc::carton::termcolor