Bugzilla – Bug 1221710
GCC 14: xf86-input-evdev package fails
Last modified: 2024-03-19 15:35:05 UTC
Building xf86-input-evdev with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/xf86-input-evdev/standard/x86_64 Due to (exhaustive list of errors): kioskTouch.c: In function 'EvdevKioskTouchOn': kioskTouch.c:285:37: error: passing argument 1 of 'RegisterBlockAndWakeupHandlers' from incompatible pointer type [-Wincompatible-pointer-types] 285 | RegisterBlockAndWakeupHandlers (EvdevKioskTouchBlockHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, struct timeval **, void *) In file included from /usr/include/xorg/privates.h:151, from /usr/include/xorg/cursor.h:53, from /usr/include/xorg/scrnintstr.h:53, from /usr/include/xorg/xf86str.h:39, from /usr/include/xorg/xf86.h:44: /usr/include/xorg/dix.h:252:80: note: expected 'ServerBlockHandlerProcPtr' {aka 'void (*)(void *, void *)'} but argument is of type 'void (*)(void *, struct timeval **, void *)' 252 | extern _X_EXPORT Bool RegisterBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ kioskTouch.c:286:37: error: passing argument 2 of 'RegisterBlockAndWakeupHandlers' from incompatible pointer type [-Wincompatible-pointer-types] 286 | EvdevKioskTouchWakeupHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, int, void *) /usr/include/xorg/dix.h:253:81: note: expected 'ServerWakeupHandlerProcPtr' {aka 'void (*)(void *, int)'} but argument is of type 'void (*)(void *, int, void *)' 253 | ServerWakeupHandlerProcPtr wakeupHandler, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ kioskTouch.c: In function 'EvdevKioskTouchFinalize': kioskTouch.c:298:35: error: passing argument 1 of 'RemoveBlockAndWakeupHandlers' from incompatible pointer type [-Wincompatible-pointer-types] 298 | RemoveBlockAndWakeupHandlers (EvdevKioskTouchBlockHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, struct timeval **, void *) /usr/include/xorg/dix.h:256:78: note: expected 'ServerBlockHandlerProcPtr' {aka 'void (*)(void *, void *)'} but argument is of type 'void (*)(void *, struct timeval **, void *)' 256 | extern _X_EXPORT void RemoveBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ kioskTouch.c:299:35: error: passing argument 2 of 'RemoveBlockAndWakeupHandlers' from incompatible pointer type [-Wincompatible-pointer-types] 299 | EvdevKioskTouchWakeupHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, int, void *) /usr/include/xorg/dix.h:257:79: note: expected 'ServerWakeupHandlerProcPtr' {aka 'void (*)(void *, int)'} but argument is of type 'void (*)(void *, int, void *)' 257 | ServerWakeupHandlerProcPtr wakeupHandler, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ See the meta bug#1220571 for more info.
fixed and submitted to factory now.
This is an autogenerated message for OBS integration: This bug (1221710) was mentioned in https://build.opensuse.org/request/show/1159569 Factory / xf86-input-evdev