Hello,
GShisen 1.3.0 does not build with latest GNUstep
Repo: gap at savannah:
http://mirror.netcologne.de/savannah/gap/GShisen-1.3.0.tar.gz
Log:
Compiling file board.m ...
board.m:174:69: error: incompatible function pointer types sending
'int (*)(id,
id, void *)' to parameter of type 'NSComparisonResult (*)(id, id, void
*)' (aka
'enum NSComparisonResult (*)(id, id, void *)')
[-Wincompatible-function-pointer-
types]
174 | tmptiles = (NSMutableArray *)[tmptiles
sortedArrayUsingFunction:(int
(*)(id, id, void*))randomizeTiles context:self];
|
^~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/Foundation/NSArray.h:147:44: note: passing argument
to parame
ter 'comparator' here
147 | (NSComparisonResult (*)(id, id, void*))comparator
| ^
board.m:494:31: error: incompatible function pointer types sending
'int (*)(id,
id, void *)' to parameter of type 'NSComparisonResult (*)(id, id, void
*)' (aka
'enum NSComparisonResult (*)(id, id, void *)')
[-Wincompatible-function-pointer-
types]
494 | [scores sortUsingFunction:(int (*)(id, id,
void*))sortScores context
:self];
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/Foundation/NSArray.h:391:41: note: passing argument
to parame
ter 'compare' here
391 | GS_GENERIC_TYPE(ElementT),void*))compare
| ^
2 errors generated.
gmake[3]: *** [/usr/local/share/GNUstep/Makefiles/rules.make:534 :
obj/GShisen.o
bj/board.m.o] Erreur 1
gmake[2]: ***
[/usr/local/share/GNUstep/Makefiles/Instance/application.make:145
: internal-app-run-compile-submake] Erreur 2
gmake[1]: ***
[/usr/local/share/GNUstep/Makefiles/Master/rules.make:297 : GShise
n.all.app.variables] Erreur 2
make: ***
[/usr/local/share/GNUstep/Makefiles/Master/application.make:38 : inter
nal-all] Erreur 2
With best regards,
--
Patrick Cardona - Pi400 - GNU/Linux (Debian 12 aarch64: RPI OS Lite)
Xorg (1:1.7.1-1.2) - libcairo2 (1.16.0-7+rpt1 arm64)
Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: Heritage
- MUA: GNUMail (1.4.0)