[Debian-med-packaging] Please upload adun.app for the gnustep-multiarch transition
Yavor Doganov
yavor at gnu.org
Sat Feb 8 08:27:46 GMT 2025
Apart from fixes for #1094355 (RC) and #1094362 there are some
accumulated changes since the summer.
I fixed compiler warnings like these
AdunCellListHandler.m: In function ‘-[AdCellListHandler createList]’:
AdunCellListHandler.m:456:28: warning: cast between incompatible function types from ‘IMP’ {aka ‘struct objc_object * (*)(struct objc_object *, const struct objc_selector *, ...)’} to ‘int (*)(struct objc_object *, const struct objc_selector *, int *, int, NSRange *)’ {aka ‘int (*)(struct objc_object *, const struct objc_selector *, int *, int, struct _NSRange *)’} [-Wcast-function-type]
456 | interact = (int (*)(id, SEL, int*, int, NSRangePointer))[interaction methodForSelector:
| ^
but later reverted my change as it's a serious diversion from upstream
for no good reason. The compiler's complaint is legitimate but it has
no knowledge that the right thing will happen at runtime. Upstream's
code is perfectly fine and in fact they are following the recommended
practice. You can read more about it at
file:///usr/share/doc/gnustep-base-doc/Base/ProgrammingManual/gs-base/Advanced-Messaging.html#Implementations
if you have gnustep-base-doc installed (it used to be online too but
gnustep.org is undergoing some reorganization and I couldn't find it).
-Wcast-function-type is enabled by -Wextra and they started appearing
because of GCC 14's improved diagnostics. I decided to silence them
instead with a short explanation in debian/rules.
Thanks in advance.
More information about the Debian-med-packaging
mailing list