[PATCH 0/3] Third series towards a warning-less clang build

Simon Marchi
2017-06-25T17:45:55Z

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