mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
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.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
3
gdb/configure
vendored
3
gdb/configure
vendored
@@ -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.
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
* configure: Re-generate.
|
||||
|
||||
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++".
|
||||
|
||||
3
gdb/gdbserver/configure
vendored
3
gdb/gdbserver/configure
vendored
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user