GNOME Bugzilla – Bug 730897
incoherent ucs2keysym prototype
Last modified: 2014-06-07 20:04:22 UTC
Hello, As reported on http://bugs.debian.org/749597 , ./registryd/ucs2keysym.c has long ucs2keysym (long ucs) while ./registryd/deviceeventcontroller-x11.c declares: KeySym ucs2keysym (long ucs); This brings an error with compilers which make link-time prototype coherency checks. On x86 platforms it happens that long or int would be returned through a register, whose truncation will be fine, but other archs will differ. In the end, it would be way more preferable to put the declaration in a common ucs2keysym.h header file for instance.
Hopefully I've just fixed this. Commit 7529a9 in master.