aboutsummaryrefslogtreecommitdiff
path: root/sim/frv
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-08-17 10:41:34 +0200
committerTom de Vries <tdevries@suse.de>2023-08-17 10:41:34 +0200
commit6feae66da1d652a50c1759bae46128087f7dfab0 (patch)
tree187e50cc00b6309df206cfd9d66bbb8e38d9adec /sim/frv
parent9246b7bd6dfeb273f9be7648acffddfe19f966ff (diff)
downloadgdb-6feae66da1d652a50c1759bae46128087f7dfab0.zip
gdb-6feae66da1d652a50c1759bae46128087f7dfab0.tar.gz
gdb-6feae66da1d652a50c1759bae46128087f7dfab0.tar.bz2
[gdb/build, c++20] Handle deprecated std::allocator::construct
When building gdb with -std=c++20, I run into: ... gdbsupport/default-init-alloc.h:52:12: error: ‘construct’ has not been \ declared in ‘class std::allocator<unsigned char>’ 52 | using A::construct; | ^~~~~~~~~ ... Indeed, std::allocator::construct has been deprecated in c++17 and removed in c++20. Fix this by using instead std::pmr::polymorphic_allocator for c++20. Tested on x86_64-linux.
Diffstat (limited to 'sim/frv')
0 files changed, 0 insertions, 0 deletions