Description
Greetings
Am running openSUSE 15.2 with all build tools in place (only missing tool from your list in the README is "gperf", which I could install via "zypper install gperf"). But now the keyboard-keys-from-name.h file produced by gperf contains a definition with register type, which conflicts with the type in the udev-builtin-keyboard.c file.
Any attempt to fix the error is overwritten by the build script, of course. :)
Is this an issue with gperf as installed, or am I perhaps missing a devel package?
Debug from the build process:
In file included from udev-builtin-keyboard.c:32:0:
keyboard-keys-from-name.h:117:1: error: conflicting types for ‘keyboard_lookup_key’
keyboard_lookup_key (register const char *str, register size_t len)
^~~~~~~~~~~~~~~~~~~
udev-builtin-keyboard.c:31:26: note: previous declaration of ‘keyboard_lookup_key’ was here
static const struct key *keyboard_lookup_key(const char *str, unsigned len);
^~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:810: libudev_core_la-udev-builtin-keyboard.lo] Error 1