Enable -Wmissing-declarations diagnostic
Now that most warnings of this kind are fixed, we can enable -Wmissing-declarations. I say "most", because it is likely that there are some more in some configurations I am not able to build, but they should be pretty easy to fix. gdb/ChangeLog: * warning.m4: Add -Wmissing-declarations to build_warnings. * configure: Re-generate. gdb/gdbserver/ChangeLog: * configure: Re-generate. Change-Id: Iae9b59f22eb5dd1965d09f34c5c9e212cddf67ba
This commit is contained in:
parent
6e37c371af
commit
bb564c588d
|
@ -1,3 +1,8 @@
|
|||
2020-01-13 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* warning.m4: Add -Wmissing-declarations to build_warnings.
|
||||
* configure: Re-generate.
|
||||
|
||||
2020-01-13 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* python/python.c (init__gdb_module): Add declaration.
|
||||
|
|
|
@ -16105,7 +16105,8 @@ build_warnings="-Wall -Wpointer-arith \
|
|||
-Wshadow=local \
|
||||
-Wdeprecated-copy \
|
||||
-Wdeprecated-copy-dtor \
|
||||
-Wredundant-move"
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations"
|
||||
|
||||
case "${host}" in
|
||||
*-*-mingw32*)
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2020-01-13 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* configure: Re-generate.
|
||||
|
||||
2020-01-13 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* tracepoint.h (IP_AGENT_EXPORT_FUNC) [!IN_PROCESS_AGENT]:
|
||||
|
|
|
@ -8094,7 +8094,8 @@ build_warnings="-Wall -Wpointer-arith \
|
|||
-Wshadow=local \
|
||||
-Wdeprecated-copy \
|
||||
-Wdeprecated-copy-dtor \
|
||||
-Wredundant-move"
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations"
|
||||
|
||||
case "${host}" in
|
||||
*-*-mingw32*)
|
||||
|
|
|
@ -49,7 +49,8 @@ build_warnings="-Wall -Wpointer-arith \
|
|||
-Wshadow=local \
|
||||
-Wdeprecated-copy \
|
||||
-Wdeprecated-copy-dtor \
|
||||
-Wredundant-move"
|
||||
-Wredundant-move \
|
||||
-Wmissing-declarations"
|
||||
|
||||
case "${host}" in
|
||||
*-*-mingw32*)
|
||||
|
|
Loading…
Reference in New Issue