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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/configure | 3 | ||||
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 3 | ||||
-rw-r--r-- | gdb/warning.m4 | 3 |
5 files changed, 15 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c14e204..a08c781 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,11 @@ 2017-06-17 Simon Marchi <simon.marchi@ericsson.com> * configure: Re-generate. + * warning.m4 (build_warnings): Add -Wno-mismatched-tags. + +2017-06-17 Simon Marchi <simon.marchi@ericsson.com> + + * configure: Re-generate. * warning.m4: Pass -Werror to compiler when checking for supported warning flags. 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. diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 2eb492e..a90a562 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -4,6 +4,10 @@ 2017-06-17 Simon Marchi <simon.marchi@ericsson.com> + * configure: Re-generate. + +2017-06-17 Simon Marchi <simon.marchi@ericsson.com> + * Makefile.in (COMPILE.pre): Add "-x c++". 2017-06-09 Sergio Durigan Junior <sergiodj@redhat.com> diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 2550c7b..35aeabc 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -7148,7 +7148,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. 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. |