From: Joseph Myers <joseph@codesourcery.com>
To: Hamza Mahfooz <someguy@effective-light.com>
Cc: <gcc-patches@gcc.gnu.org>, Richard Biener <rguenther@suse.de>,
Marek Polacek <polacek@redhat.com>,
Martin Uecker <uecker@tugraz.at>
Subject: Re: [PATCH RESEND] c: add -Wmissing-variable-declarations [PR65213]
Date: Fri, 28 Jul 2023 20:32:31 +0000 [thread overview]
Message-ID: <a5ebb249-e267-ecf9-96c0-7926da85a5ac@codesourcery.com> (raw)
In-Reply-To: <20230718191431.50059-1-someguy@effective-light.com>
On Tue, 18 Jul 2023, Hamza Mahfooz wrote:
> Resolves:
> PR c/65213 - Extend -Wmissing-declarations to variables [i.e. add
> -Wmissing-variable-declarations]
>
> gcc/c-family/ChangeLog:
>
> PR c/65213
> * c.opt (-Wmissing-variable-declarations): New option.
>
> gcc/c/ChangeLog:
>
> PR c/65213
> * c-decl.cc (start_decl): Handle
> -Wmissing-variable-declarations.
>
> gcc/ChangeLog:
>
> PR c/65213
> * doc/invoke.texi (-Wmissing-variable-declarations): Document
> new option.
>
> gcc/testsuite/ChangeLog:
>
> PR c/65213
> * gcc.dg/Wmissing-variable-declarations.c: New test.
OK.
--
Joseph S. Myers
joseph@codesourcery.com
next prev parent reply other threads:[~2023-07-28 20:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-18 19:14 Hamza Mahfooz
2023-07-28 20:32 ` Joseph Myers [this message]
2023-07-31 14:40 ` Hamza Mahfooz
2023-07-31 19:05 ` Joseph Myers
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=a5ebb249-e267-ecf9-96c0-7926da85a5ac@codesourcery.com \
--to=joseph@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=polacek@redhat.com \
--cc=rguenther@suse.de \
--cc=someguy@effective-light.com \
--cc=uecker@tugraz.at \
/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: link
Be 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).