diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-06-17 23:18:49 +0200 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-06-17 23:18:49 +0200 |
commit | 8465943af6a6f756c3d4b077eb1081ade927b26b (patch) | |
tree | 6ad4cb931d1c66afa6b9dc68288c58f08a388099 /gdb/warning.m4 | |
parent | 3e019bdc20eb81b91ab5bc774386201b874c0bac (diff) | |
download | gdb-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/warning.m4')
-rw-r--r-- | gdb/warning.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/warning.m4 b/gdb/warning.m4 index 00e0f38..0b6aaab 100644 --- a/gdb/warning.m4 +++ b/gdb/warning.m4 @@ -40,7 +40,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. |