On Fri, Jul 16, 2021 at 10:27:09AM +0200, Jakub Jelinek via Gcc-patches wrote:
> On Fri, Jul 16, 2021 at 08:41:06AM +0100, Jonathan Wakely via Gcc-patches
> wrote:
> > --- a/libstdc++-v3/include/bits/max_size_type.h
> > +++ b/libstdc++-v3/include/bits/max_size_type.h
> > @@ -417,7 +417,10 @@ namespace ranges
> > #endif
> >
> > #if __SIZEOF_INT128__
> > +#pragma GCC diagnostic push
> > +#pragma GCC diagnostic ignored "-Wpedantic"
> > using __rep = unsigned __int128;
> > +#pragma GCC diagnostic pop
>
> At least in simple cases like this, wouldn't
> using __rep = __extension__ unsigned __int128;
__extension__ using __rep = unsigned __int128;
actually (now tested).
Jakub