]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix compilation errors with Clang
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Oct 2019 20:16:57 +0000 (20:16 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Oct 2019 20:16:57 +0000 (20:16 +0000)
commita1a989a8f657f234e44c08e0cdd7ed6bbb69762f
treeae4db19af38f71b34db40b668069ceac82d8f5ed
parent33f138133a78acfc3fdce12dfb6dc6a677bf2454
Fix compilation errors with Clang

* include/bits/alloc_traits.h (__cpp_lib_constexpr_dynamic_alloc):
Define.
(allocator_traits::_S_construct, allocator_traits::_S_destroy)
(__alloc_on_copy, __alloc_on_move, __alloc_on_swap): Use
_GLIBCXX14_CONSTEXPR instead of constexpr.
* include/bits/stl_construct.h (_Destroy): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277588 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/alloc_traits.h
libstdc++-v3/include/bits/stl_construct.h
libstdc++-v3/include/ext/alloc_traits.h