[libcxx-commits] [libcxx] [libc++] Bump the C++ Standard used to compile the dylib to C++23 (PR #66824)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 4 05:20:05 PDT 2023


================
@@ -37,7 +37,7 @@ set(Clang_DIR "${Clang_DIR_SAVE}" CACHE PATH "The directory containing a CMake c
 
 message(STATUS "Found system-installed LLVM ${LLVM_PACKAGE_VERSION} with headers in ${LLVM_INCLUDE_DIRS}")
 
-set(CMAKE_CXX_STANDARD 20)
+set(CMAKE_CXX_STANDARD 23)
----------------
philnik777 wrote:

Well, then something is broken in the CMake cache. I'm pretty sure it shouldn't just randomly switch compilers. On my system it uses the compiler that I set.

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


More information about the libcxx-commits mailing list