This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/3] Third series towards a warning-less clang build
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Sun, 25 Jun 2017 19:45:00 +0200
- Subject: [PATCH 0/3] Third series towards a warning-less clang build
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=ericsson.com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
This series fixes a few last issues we get when building with clang and
-Werror. It was not as bad as I expected (especially the vec.h warnings).
Combined with this patch:
https://sourceware.org/ml/gdb-patches/2017-06/msg00252.html
gdb itself builds cleanly with clang and -Werror (not the rest of the
binutils-gdb repo yet through).
Simon Marchi (3):
ada-lex: Ignore warnings about register keyword
vec: Silence -Wunused-function warnings on clang
record-full: Remove unused function netorder16
gdb/ada-lex.l | 9 +++++++++
gdb/common/diagnostics.h | 6 ++++++
gdb/common/vec.h | 11 +++++++++++
gdb/record-full.c | 10 ----------
4 files changed, 26 insertions(+), 10 deletions(-)
--
2.7.4