Files
Tom de Vries fdf95218bc [gdb/build] Fix Wimplicit-exception-spec-mismatch in clang build
When building with clang 13 (and -std=gnu++17 to work around an issue in
string_view-selftests.c), we run into a few Wimplicit-exception-spec-mismatch
warnings:
...
src/gdbsupport/new-op.cc:102:1: error: function previously declared with an \
  explicit exception specification redeclared with an implicit exception \
  specification [-Werror,-Wimplicit-exception-spec-mismatch]
operator delete (void *p)
^
/usr/include/c++/11/new:130:6: note: previous declaration is here
void operator delete(void*) _GLIBCXX_USE_NOEXCEPT
     ^
...

These are due to recent commit 5fff6115fea "Fix
LD_PRELOAD=/usr/lib64/libasan.so.6 gdb".

Fix this by adding the missing noexcept.

Build on x86_64-linux, using gcc 7.5.0 and clang 13.0.0.
2021-11-11 11:22:39 +01:00
..
2020-10-25 21:08:49 -04:00
2021-01-22 12:43:27 -05:00
2021-03-24 14:57:53 -03:00
2021-03-24 14:57:53 -03:00
2021-11-09 08:21:18 -07:00
2021-11-09 08:21:18 -07:00
2021-11-09 08:21:18 -07:00
2021-09-23 09:30:54 -06:00
2021-09-23 09:30:54 -06:00
2021-03-24 14:57:53 -03:00
2021-03-24 14:57:53 -03:00
2021-10-28 11:17:45 -04:00

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.