Skip to content

Conversation

ldionne
Copy link
Member

@ldionne ldionne commented Nov 9, 2023

We only support Clang >= 16, but we seem to have forgotten to update the version theck in __config to reflect that.

We only support Clang >= 16, but we seem to have forgotten to update
the version theck in __config to reflect that.
@ldionne ldionne requested a review from a team as a code owner November 9, 2023 19:12
@ldionne
Copy link
Member Author

ldionne commented Nov 9, 2023

CC @AdvenamTacet

@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Nov 9, 2023
@llvmbot
Copy link
Member

llvmbot commented Nov 9, 2023

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

Changes

We only support Clang >= 16, but we seem to have forgotten to update the version theck in __config to reflect that.


Full diff: https://github.com/llvm/llvm-project/pull/71849.diff

1 Files Affected:

  • (modified) libcxx/include/__config (+2-2)
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 39148ae2b184196..4412deb930cb45b 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -33,8 +33,8 @@
 // Warn if a compiler version is used that is not supported anymore
 // LLVM RELEASE Update the minimum compiler versions
 #  if defined(_LIBCPP_CLANG_VER)
-#    if _LIBCPP_CLANG_VER < 1500
-#      warning "Libc++ only supports Clang 15 and later"
+#    if _LIBCPP_CLANG_VER < 1600
+#      warning "Libc++ only supports Clang 16 and later"
 #    endif
 #  elif defined(_LIBCPP_APPLE_CLANG_VER)
 #    if _LIBCPP_APPLE_CLANG_VER < 1500

@AdvenamTacet AdvenamTacet merged commit ea89965 into llvm:main Nov 10, 2023
@ldionne ldionne deleted the review/update-version-check branch November 10, 2023 02:43
zahiraam pushed a commit to zahiraam/llvm-project that referenced this pull request Nov 20, 2023
We only support Clang >= 16, but we seem to have forgotten to update the
version check in __config to reflect that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants