public inbox for gdb-testers@sourceware.org help / color / mirror / Atom feed
From: gdb-buildbot@sergiodj.net To: gdb-testers@sourceware.org Subject: [binutils-gdb] Enable -Wmissing-declarations diagnostic Date: Tue, 14 Jan 2020 02:01:00 -0000 [thread overview] Message-ID: <bb564c588d95608ff87067cb05db910cf38dc2d3@gdb-build> (raw) *** TEST RESULTS FOR COMMIT bb564c588d95608ff87067cb05db910cf38dc2d3 *** commit bb564c588d95608ff87067cb05db910cf38dc2d3 Author: Simon Marchi <simon.marchi@efficios.com> AuthorDate: Mon Jan 13 14:05:44 2020 -0500 Commit: Simon Marchi <simon.marchi@efficios.com> CommitDate: Mon Jan 13 14:06:09 2020 -0500 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 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 <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. 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 <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]: 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*)
next reply other threads:[~2020-01-14 2:00 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-14 2:01 gdb-buildbot [this message] 2020-01-14 2:02 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master gdb-buildbot 2020-01-16 1:11 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot 2020-01-16 1:39 ` Failures on Fedora-x86_64-m32, " gdb-buildbot 2020-01-16 1:43 ` Failures on Fedora-i686, " gdb-buildbot 2020-01-16 1:44 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot 2020-01-16 2:00 ` Failures on Fedora-x86_64-m64, " gdb-buildbot 2020-01-16 2:13 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot 2020-01-16 2:46 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bb564c588d95608ff87067cb05db910cf38dc2d3@gdb-build \ --to=gdb-buildbot@sergiodj.net \ --cc=gdb-testers@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).