This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] Add noexcept to custom non-throwing new operators.
On 11/23/2016 08:06 PM, John Baldwin wrote:
> Both libc++ and libstdc++ declare non-throwing new operators as
> noexcept and overloads must also be noexcept. This fixes a
> -Wmissing-exception-spec warning with clang.
>
> gdb/ChangeLog:
>
> * common/new-op.c (operator new): Mark 'noexcept'.
> (operator new[]): Likewise.
OK.
Thanks,
Pedro Alves