This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Add a couple of dialect and warning options regarding Objective-C instance variable scope
- From: Mike Stump <mikestump at comcast dot net>
- To: Dimitris Papavasiliou <dpapavas at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 12 May 2014 12:14:14 -0700
- Subject: Re: [PATCH] Add a couple of dialect and warning options regarding Objective-C instance variable scope
- Authentication-results: sourceware.org; auth=none
- References: <52F35508 dot 4080205 at gmail dot com> <5486E33D-B8F6-473F-8F33-6A7DEECB45A8 at comcast dot net> <5359999C dot 7090607 at gmail dot com> <757BB622-2CA8-4C9A-BCA9-AAD1FDF8F14F at comcast dot net> <535A8EA8 dot 5040706 at gmail dot com> <80E7465A-6FE8-475D-873E-FF2F2C8EC2ED at comcast dot net> <535E2EF9 dot 3070500 at gmail dot com> <904A6DC5-2EFF-4C6A-9E2D-62DAB3045FBF at comcast dot net> <53711978 dot 7000404 at gmail dot com>
On May 12, 2014, at 11:56 AM, Dimitris Papavasiliou <email@example.com> wrote:
> So we [ .. ] expect that they silently shadow the instance variables, that is that warnings are _not_ generated.
Perfect, thanks. I’ve checked it in:
Committed revision 210333.
Thanks for all your hard work.
> So I take it that I should change these to dg-bogus since this is behavior expected in the past but not now, as well as any other expected non-warnings in the other test cases? Is it important in some way that dg-bogus makes no distinction between warning and error messages?
No. One could, but, not necessary.