Control: reassign -1 libgpm-dev Hello,
Matthias Klose, le lun. 17 févr. 2025 17:04:20 +0000, a ecrit: > gcc -DHAVE_CONFIG_H -I. -I../../../src -I.. -I../intl > -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/build/reproducible-path/aumix-2.9.1=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -g -O2 > -Werror=implicit-function-declaration > -ffile-prefix-map=/build/reproducible-path/aumix-2.9.1=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -c -o mouse.o ../../../src/mouse.c > ../../../src/mouse.c: In function ‘StartMouse’: > ../../../src/mouse.c:80:24: error: assignment to ‘int (*)(WINDOW *)’ {aka > ‘int (*)(struct _win_st *)’} from incompatible pointer type ‘int (*)(void)’ > [-Wincompatible-pointer-types] > 80 | Wgetch = Gpm_Wgetch; > | ^ > In file included from ../../../src/mouse.h:23, > from ../../../src/mouse.c:33: > /usr/include/gpm.h:271:12: note: ‘Gpm_Wgetch’ declared here > 271 | extern int Gpm_Wgetch(); > | ^~~~~~~~~~ This is due to libgpm-dev's incomplete declaration in /usr/include/gpm.h: extern int Gpm_Wgetch(); That should be extern int Gpm_Wgetch(WINDOW *); Samuel