On Wed, Jan 08, 2025 at 11:57:32AM +0100, Giuseppe D'Angelo wrote:
> On 08/01/2025 11:49, Jakub Jelinek wrote:
> > > +#ifndef _GLIBCXX26_CONSTEXPR
> > > +# if __cplusplus >= 202303L
> > Shouldn't that be 202400L instead?  I mean that is what
> > -std=c++26/-std=gnu++26 predefines and has been historically what we've been
> > using for next version.
> > I think clang++ also predefines 202400L.
> 
> Fair enough, GCC documentation simply says "an unspecified value strictly
> larger than 202302L for the experimental languages enabled by -std=c++26 and
> -std=gnu++26", so I picked ... a value larger than 202302L. I can certainly
> change it for the historical reason, just let me know.

This is libstdc++ patch, so I'll defer to Jonathan, both the decision and
review of the patch.

        Jakub

Reply via email to