diff options
author | Deev Patel <pateldeev@nevada.unr.edu> | 2023-07-24 21:10:52 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-07-24 22:12:02 +0100 |
commit | 96482ffe60d9bdec802fcad705c69641b2a3e040 (patch) | |
tree | 6efec33d2b7d18c536fa0edeebd300e4203c8ff7 /gcc | |
parent | 2e31fe431b08b0302e1fa8a1c18ee51adafd41df (diff) | |
download | gcc-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')
0 files changed, 0 insertions, 0 deletions