From 8465943af6a6f756c3d4b077eb1081ade927b26b Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sat, 17 Jun 2017 23:18:49 +0200 Subject: gdb: Add -Wno-mismatched-tags clang complains that for some types, we use both the class and struct keywords in different places. It's not really a problem, so I think we can safely turn this warning off. gdb/ChangeLog: * configure: Re-generate. * warning.m4 (build_warnings): Add -Wno-mismatched-tags. gdb/gdbserver/ChangeLog: * configure: Re-generate. --- gdb/configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/configure') diff --git a/gdb/configure b/gdb/configure index df2747a..755e3dc 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15151,7 +15151,8 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts \ -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable \ --Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized" +-Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ +-Wno-mismatched-tags" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. -- cgit v1.1