On Thu, 28 May 2026, Jonathan Wakely wrote:

> On Thu, 28 May 2026 at 15:05, Jonathan Wakely <[email protected]> wrote:
> >
> > On Thu, 28 May 2026 at 14:41, Patrick Palka <[email protected]> wrote:
> > >
> > > On Thu, 28 May 2026, Patrick Palka wrote:
> > >
> > > > OK for trunk?
> > > >
> > > > -- >8 --
> > > >
> > > > This fixes the error
> > > >
> > > > .../testsuite_allocator.h:402:13: error: exception handling disabled, 
> > > > use ‘-fexceptions’ to enable
> > > >   402 |             catch(...)
> > > >       |             ^~~~~
> > > >
> > > > seen when running some C++23 library tests with -fno-exceptions.
> > >
> > > Huh, I wonder why we complain about this unguarded catch but not about
> > > the one inside uneq_allocator::allocate a few lines above...
> >
> > I was just wondering that ...
> 
> Maybe it only complains about the members that are instantiated?
> 
> Both functions need the same fix, I think.

Yeah, I think you're right.  I'm surprised we haven't run into this for
for ::allocate which was added in 2006.

Reply via email to