mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
add -Wmissing-parameter-type
This adds -Wmissing-parameter-type to gdb's list of warnings. This one doesn't happen to trigger for a --enable-targets=all build on x86-64 Fedora 18. * configure.ac (build_warnings): Add -Wmissing-parameter-type. * configure: Rebuild.
This commit is contained in:
parent
0ca92f2e81
commit
2945b8076c
@ -1,3 +1,8 @@
|
||||
2013-07-01 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* configure.ac (build_warnings): Add -Wmissing-parameter-type.
|
||||
* configure: Rebuild.
|
||||
|
||||
2013-07-01 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* defs.h: Include "pathmax.h".
|
||||
|
2
gdb/configure
vendored
2
gdb/configure
vendored
@ -12470,7 +12470,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
|
||||
-Wpointer-sign \
|
||||
-Wno-unused -Wunused-value -Wunused-function \
|
||||
-Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
|
||||
-Wdeclaration-after-statement -Wempty-body"
|
||||
-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type"
|
||||
|
||||
# Enable -Wno-format by default when using gcc on mingw since many
|
||||
# GCC versions complain about %I64.
|
||||
|
@ -1940,7 +1940,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
|
||||
-Wpointer-sign \
|
||||
-Wno-unused -Wunused-value -Wunused-function \
|
||||
-Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
|
||||
-Wdeclaration-after-statement -Wempty-body"
|
||||
-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type"
|
||||
|
||||
# Enable -Wno-format by default when using gcc on mingw since many
|
||||
# GCC versions complain about %I64.
|
||||
|
Loading…
Reference in New Issue
Block a user