aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-06-17 23:18:49 +0200
committerSimon Marchi <simon.marchi@ericsson.com>2017-06-17 23:18:49 +0200
commit8465943af6a6f756c3d4b077eb1081ade927b26b (patch)
tree6ad4cb931d1c66afa6b9dc68288c58f08a388099 /gdb/configure
parent3e019bdc20eb81b91ab5bc774386201b874c0bac (diff)
downloadgdb-8465943af6a6f756c3d4b077eb1081ade927b26b.zip
gdb-8465943af6a6f756c3d4b077eb1081ade927b26b.tar.gz
gdb-8465943af6a6f756c3d4b077eb1081ade927b26b.tar.bz2
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.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure3
1 files changed, 2 insertions, 1 deletions
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.