Re: Bug#1096423: cenon.app: ftbfs with GCC-15
- To: Matthias Klose <doko@debian.org>, 1096423-maintonly@bugs.debian.org
- Subject: Re: Bug#1096423: cenon.app: ftbfs with GCC-15
- From: Yavor Doganov <yavor@gnu.org>
- Date: Tue, 04 Mar 2025 22:01:54 +0200
- Message-id: <87o6ygwonh.GNU's_not_UNIX!-yavor@gnu.org>
- In-reply-to: <E1tk4Zx-009Hpy-CK@paradis.debian.org>
- References: <E1tk4Zx-009Hpy-CK@paradis.debian.org>
Control: clone -1 -2
Control: reassign -2 gobjc-15 15-20250220-1
Control: retitle -2 Implementation of "if declarations" makes instance variables unknown under certain conditions
Control: forwarded -2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119117
Control: block -1 with -2
On Mon, 17 Feb 2025 19:06:45 +0200,
Matthias Klose wrote:
> VArc.m:3052:22: error: unknown type name ‘angle’
> 3052 | if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
> | ^~~~~
This is an instance variable which should always be accessible within
a method implementation. If I add a local declaration, I get "local
declaration shadows ivar" warning. That's absurd.
I included a minimal example that doesn't depend on gnustep-base in
the upstream report, and also pointed out the change that introduced
this bug.
Reply to: