1
0

fix: do misc work

- add macos compile note in compile manual.
- add DoNotOptimize in benchmark.
This commit is contained in:
2025-10-03 22:47:30 +08:00
parent c6c450f6fa
commit 8e0865384d
2 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,8 @@ So you actually do not need Google Test, Google Benchmark and Doxygen.
> [!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.
> You may try other solutions for compiling this project on macOS or with Clang.
> 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`.
### Google Test