Re: [PATCH] libstdc++: Add missing constexpr specifier and function overloads

2023-07-24 Thread Jonathan Wakely via Gcc-patches
On 23/07/23 20:28 -0700, Deev Patel wrote: Hi, 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 libstd with clang 16 using c++20. Adding the

[PATCH] libstdc++: Add missing constexpr specifier and function overloads

2023-07-23 Thread Deev Patel via Gcc-patches
Hi, 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 libstd with clang 16 using c++20. Adding the constexpr specifier resolves the issue. 2023-07-23