projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60053a9
)
[libc++] Allow building with C++17.
author
Mark de Wever
<koraq@xs4all.nl>
Sun, 31 Jan 2021 13:25:01 +0000
(14:25 +0100)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/libcxx/src/format.cpp
b/libcxx/src/format.cpp
index
8ae9554
..
c36c20e
100644
(file)
--- 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