[libc-commits] [libc] [libc] raise CMAKE_CXX_STANDARD to C++20 (PR #87020)

James Y Knight via libc-commits libc-commits at lists.llvm.org
Sat Mar 30 08:51:16 PDT 2024


jyknight wrote:

I do not recommend using C++20 until Clang 17, due to multiple serious bugs in codegen in previous versions. For LLVM, we also upped the minimum to 17.0.6 due to a late issue with the spaceship operator implementation.

If you switch to C++20 for libc, you ought to raise the minimum version as well.

See also https://discourse.llvm.org/t/rfc-clang-17-0-6-would-be-minimum-version-to-build-llvm-in-c-20/75345/8

https://github.com/llvm/llvm-project/pull/87020


More information about the libc-commits mailing list