[01;33mFetching source from mirror: http://ftp.x.org/pub/individual/driver/xf86-input-libinput-1.5.0.tar.xz
[0mIn file included from util-strings.c:27:
util-strings.h: In function ‘double_array_from_string’:
util-strings.h:295:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
295 | size_t nelem;
| ^~~~~~
util-strings.h:300:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
300 | double *numv = zalloc(sizeof(double) * nelem);
| ^~~~~~
util-strings.h: In function ‘kv_double_from_string’:
util-strings.h:342:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
342 | size_t npairs;
| ^~~~~~
util-strings.h: In function ‘str_sanitize’:
util-strings.h:451:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
451 | size_t slen = min(strlen(str), 512);
| ^~~~~~
util-strings.c: In function ‘strv_from_string’:
util-strings.c:113:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
113 | const char *s = in;
| ^~~~~
util-strings.c:123:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
123 | size_t strv_len = nelems + 1; /* NULL-terminated */
| ^~~~~~
In file included from xf86libinput.c:48:
util-strings.h: In function ‘double_array_from_string’:
util-strings.h:295:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
295 | size_t nelem;
| ^~~~~~
util-strings.h:300:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
300 | double *numv = zalloc(sizeof(double) * nelem);
| ^~~~~~
util-strings.h: In function ‘kv_double_from_string’:
util-strings.h:342:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
342 | size_t npairs;
| ^~~~~~
util-strings.h: In function ‘str_sanitize’:
util-strings.h:451:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
451 | size_t slen = min(strlen(str), 512);
| ^~~~~~
xf86libinput.c: In function ‘xf86libinput_set_pressure_range’:
xf86libinput.c:466:53: warning: declaration of ‘range’ shadows a global declaration [-Wshadow]
466 | const struct range *range)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /usr/include/xorg/xf86.h:44,
from xf86libinput.c:36:
/usr/include/xorg/xf86str.h:110:3: note: shadowed declaration is here
110 | } range;
| ^~~~~
xf86libinput.c: In function ‘xf86libinput_handle_event’:
xf86libinput.c:2618:9: warning: enumeration value ‘LIBINPUT_EVENT_TABLET_PAD_KEY’ not handled in switch [-Wswitch]
2618 | switch (type) {
| ^~~~~~
xf86libinput.c:2618:9: warning: enumeration value ‘LIBINPUT_EVENT_TABLET_PAD_DIAL’ not handled in switch [-Wswitch]
xf86libinput.c:2618:9: warning: enumeration value ‘LIBINPUT_EVENT_GESTURE_HOLD_BEGIN’ not handled in switch [-Wswitch]
xf86libinput.c:2618:9: warning: enumeration value ‘LIBINPUT_EVENT_GESTURE_HOLD_END’ not handled in switch [-Wswitch]
xf86libinput.c: In function ‘xf86libinput_parse_pressure_range_option’:
xf86libinput.c:3667:56: warning: declaration of ‘range’ shadows a global declaration [-Wshadow]
3667 | struct range *range)
| ~~~~~~~~~~~~~~^~~~~
/usr/include/xorg/xf86str.h:110:3: note: shadowed declaration is here
110 | } range;
| ^~~~~
xf86libinput.c: In function ‘LibinputSetPropertyPressureRange’:
xf86libinput.c:5335:22: warning: declaration of ‘range’ shadows a global declaration [-Wshadow]
5335 | struct range range = { 0.0, 1.0 };
| ^~~~~
/usr/include/xorg/xf86str.h:110:3: note: shadowed declaration is here
110 | } range;
| ^~~~~
xf86libinput.c: In function ‘LibinputInitClickfingerButtonmapProperty’:
xf86libinput.c:6241:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
6241 | uint32_t click_methods = libinput_device_config_click_get_methods(device);
| ^~~~~~~~
libtool: warning: remember to run 'libtool --finish /usr/lib/xorg/modules/input'
[01;33m*** 0 error(s), 1 warning(s)
[0m