[libc++] Allow building with C++17.
authorMark de Wever <koraq@xs4all.nl>
Sun, 31 Jan 2021 13:25:01 +0000 (14:25 +0100)
committerMark de Wever <koraq@xs4all.nl>
Sun, 31 Jan 2021 13:25:01 +0000 (14:25 +0100)
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.

libcxx/src/format.cpp

index 8ae9554..c36c20e 100644 (file)
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
+#if _LIBCPP_STD_VER > 17
+
 format_error::~format_error() noexcept = default;
 
+#endif //_LIBCPP_STD_VER > 17
+
 _LIBCPP_END_NAMESPACE_STD