aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorDeev Patel <pateldeev@nevada.unr.edu>2023-07-24 21:10:52 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-07-24 22:12:02 +0100
commit96482ffe60d9bdec802fcad705c69641b2a3e040 (patch)
tree6efec33d2b7d18c536fa0edeebd300e4203c8ff7 /gcc/cp/constexpr.cc
parent2e31fe431b08b0302e1fa8a1c18ee51adafd41df (diff)
downloadgcc-96482ffe60d9bdec802fcad705c69641b2a3e040.zip
gcc-96482ffe60d9bdec802fcad705c69641b2a3e040.tar.gz
gcc-96482ffe60d9bdec802fcad705c69641b2a3e040.tar.bz2
libstdc++: Add missing constexpr specifiers in <format>
A couple of virtual functions in the libstdc++ format header are marked constexpr in the base class, but not in the derived class. This was causing build failures when trying to compile latest gcc libstdc++ with clang 16 using c++20. Adding the constexpr specifier resolves the issue. libstdc++-v3/ChangeLog: * include/std/format (_Formatting_scanner::_M_on_chars): Add missing constexpr specifier. (_Formatting_scanner::_M_format_arg): Likewise.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions