std::allocator still throws std::bad_alloc even when eh is disabled

Jonathan Wakely jwakely.gcc@gmail.com
Mon Oct 5 09:16:13 GMT 2020


On Mon, 5 Oct 2020 at 09:38, sotrdg sotrdg via Libstdc++
<libstdc++@gcc.gnu.org> wrote:
>
> That causes binary bloat. Please fix it.

It works as design, there's nothing to fix.

If you want to disable exceptions from the standard library itself
then build the standard library with -fno-exception too.


More information about the Libstdc++ mailing list