diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f2992f1784..ea5352dfd0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-01-13 Simon Marchi + + * warning.m4: Add -Wmissing-declarations to build_warnings. + * configure: Re-generate. + 2020-01-13 Simon Marchi * python/python.c (init__gdb_module): Add declaration. diff --git a/gdb/configure b/gdb/configure index b572d414ca..aa53c097ca 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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*) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 233bc62136..bb0bc7a6c3 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2020-01-13 Simon Marchi + + * configure: Re-generate. + 2020-01-13 Simon Marchi * tracepoint.h (IP_AGENT_EXPORT_FUNC) [!IN_PROCESS_AGENT]: diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 4de751b449..f70b3d5521 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -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*) diff --git a/gdb/warning.m4 b/gdb/warning.m4 index 00bcdfa7ea..e2b8a43ddb 100644 --- a/gdb/warning.m4 +++ b/gdb/warning.m4 @@ -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*)