[libcxx-commits] [libcxx] 8869e2f - [libc++] Allow building with C++17.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jan 31 05:29:22 PST 2021
Author: Mark de Wever
Date: 2021-01-31T14:25:01+01:00
New Revision: 8869e2f969101426e8615bb3cb0e7186938c23c7
URL: https://github.com/llvm/llvm-project/commit/8869e2f969101426e8615bb3cb0e7186938c23c7
DIFF: https://github.com/llvm/llvm-project/commit/8869e2f969101426e8615bb3cb0e7186938c23c7.diff
LOG: [libc++] Allow building with C++17.
After committing D92214 it was noticed libc++ no longer builds with
C++17. For now reenable building with C++17. This is intended to be a
temporary measure in the future a C++20 capable compiler will be
required.
Added:
Modified:
libcxx/src/format.cpp
Removed:
################################################################################
diff --git a/libcxx/src/format.cpp b/libcxx/src/format.cpp
index 8ae95547eb38..c36c20e60a9e 100644
--- a/libcxx/src/format.cpp
+++ b/libcxx/src/format.cpp
@@ -10,6 +10,10 @@
_LIBCPP_BEGIN_NAMESPACE_STD
+#if _LIBCPP_STD_VER > 17
+
format_error::~format_error() noexcept = default;
+#endif //_LIBCPP_STD_VER > 17
+
_LIBCPP_END_NAMESPACE_STD
More information about the libcxx-commits
mailing list