[libcxx-commits] [PATCH] D127257: [libcxx] improve LIBCXX_ABI_NAMESPACE error message
Florian Mayer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 7 15:34:06 PDT 2022
fmayer updated this revision to Diff 434973.
fmayer added a comment.
Consistency
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127257/new/
https://reviews.llvm.org/D127257
Files:
libcxx/CMakeLists.txt
Index: libcxx/CMakeLists.txt
===================================================================
--- libcxx/CMakeLists.txt
+++ libcxx/CMakeLists.txt
@@ -187,7 +187,7 @@
this also controls the linker's 'current_version' property.")
set(LIBCXX_ABI_NAMESPACE "__${LIBCXX_ABI_VERSION}" CACHE STRING "The inline ABI namespace used by libc++. It defaults to __n where `n` is the current ABI version.")
if (NOT LIBCXX_ABI_NAMESPACE MATCHES "__.*")
- message(FATAL_ERROR "LIBCXX_ABI_NAMESPACE must be a reserved identifier.")
+ message(FATAL_ERROR "LIBCXX_ABI_NAMESPACE must be a reserved identifier, is '${LIBCXX_ABI_NAMESPACE}'.")
endif()
option(LIBCXX_ABI_FORCE_ITANIUM "Ignore auto-detection and force use of the Itanium ABI.")
option(LIBCXX_ABI_FORCE_MICROSOFT "Ignore auto-detection and force use of the Microsoft ABI.")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127257.434973.patch
Type: text/x-patch
Size: 830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220607/0e43b198/attachment-0001.bin>
More information about the libcxx-commits
mailing list