1
0

doc: update compile manual

This commit is contained in:
2026-01-23 20:46:26 +08:00
parent 19df293463
commit aa6dd3031a

View File

@@ -27,10 +27,16 @@ So you actually do not need Google Test, Google Benchmark and Doxygen.
### Compiler
> [!WARNING]
> You may face some issues when building on macOS with Clang. That's not your fault.
> Clang used libc++ library lacks some essential features used by this project.
> A possible solution is that use GCC and libstdc++ on macOS instead of default Clang and libc++.
> Build issue may be resolved until libc++ finish these features: `std::stacktrace` and `std::views::enumerate`.
> You may face some issues when building on macOS with Apple Clang. That's not your fault.
> Clang and Apple Clang used libc++ library lacks some essential features used by this project.
> This is especially not good for Apple Clang because Apple Clang is usually behind Clang a bunch of versions.
>
> For resolving this issue, I have written a series of patch header files for libcxx and you can find them in include directory.
> This project should be compiled on macOS but everything has exception.
> If you really have this issue, a possible solution is that use GCC and libstdc++ on macOS instead of default Clang and libc++.
>
> Build issue may be resolved until libc++ finish these features: complete `std::from_chars` and `std::to_chars`,
> `std::stacktrace` and `std::views::enumerate`.
### Google Test