[Debian GNUstep maintainers] Bug#1096423: cenon.app: ftbfs with GCC-15
Yavor Doganov
yavor at gnu.org
Tue Mar 4 20:01:54 GMT 2025
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.
More information about the pkg-GNUstep-maintainers
mailing list