In file included from /usr/include/xorg/misc.h:119,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from ./xf86Wacom.h:30,
from ../src/x11/xf86WacomProperties.c:22:
/usr/include/xorg/os.h:592:1: warning: redundant redeclaration of ‘strlcpy’ [-Wredundant-decls]
592 | strlcpy(char *dst, const char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/string.h:26,
from ./xf86Wacom.h:27:
/usr/include/bits/string_fortified.h:161:1: note: previous definition of ‘strlcpy’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
/usr/include/xorg/os.h:594:1: warning: redundant redeclaration of ‘strlcat’ [-Wredundant-decls]
594 | strlcat(char *dst, const char *src, size_t siz);
| ^~~~~~~
/usr/include/bits/string_fortified.h:179:1: note: previous definition of ‘strlcat’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
179 | __NTH (strlcat (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
In file included from /usr/include/xorg/misc.h:119,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from ./xf86Wacom.h:30,
from ../src/x11/xf86Wacom.c:43:
/usr/include/xorg/os.h:592:1: warning: redundant redeclaration of ‘strlcpy’ [-Wredundant-decls]
592 | strlcpy(char *dst, const char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/sys/stat.h:25,
from ../src/x11/xf86Wacom.c:39:
/usr/include/bits/string_fortified.h:161:1: note: previous definition of ‘strlcpy’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
/usr/include/xorg/os.h:594:1: warning: redundant redeclaration of ‘strlcat’ [-Wredundant-decls]
594 | strlcat(char *dst, const char *src, size_t siz);
| ^~~~~~~
/usr/include/bits/string_fortified.h:179:1: note: previous definition of ‘strlcat’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
179 | __NTH (strlcat (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
In file included from /usr/include/xorg/misc.h:119,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from ../src/xf86Wacom.h:30,
from ../src/wcmCommon.c:23:
/usr/include/xorg/os.h:592:1: warning: redundant redeclaration of ‘strlcpy’ [-Wredundant-decls]
592 | strlcpy(char *dst, const char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/unistd.h:25,
from ../src/wcmCommon.c:22:
/usr/include/bits/string_fortified.h:161:1: note: previous definition of ‘strlcpy’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
/usr/include/xorg/os.h:594:1: warning: redundant redeclaration of ‘strlcat’ [-Wredundant-decls]
594 | strlcat(char *dst, const char *src, size_t siz);
| ^~~~~~~
/usr/include/bits/string_fortified.h:179:1: note: previous definition of ‘strlcat’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
179 | __NTH (strlcat (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
In file included from /usr/include/xorg/misc.h:119,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from ../src/xf86Wacom.h:30,
from ../src/wcmFilter.c:23:
/usr/include/xorg/os.h:592:1: warning: redundant redeclaration of ‘strlcpy’ [-Wredundant-decls]
592 | strlcpy(char *dst, const char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/math.h:27,
from ../src/wcmFilter.c:22:
/usr/include/bits/string_fortified.h:161:1: note: previous definition of ‘strlcpy’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
/usr/include/xorg/os.h:594:1: warning: redundant redeclaration of ‘strlcat’ [-Wredundant-decls]
594 | strlcat(char *dst, const char *src, size_t siz);
| ^~~~~~~
/usr/include/bits/string_fortified.h:179:1: note: previous definition of ‘strlcat’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
179 | __NTH (strlcat (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
In file included from /usr/include/xorg/misc.h:119,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from ../src/xf86Wacom.h:30,
from ../src/wcmConfig.c:22:
/usr/include/xorg/os.h:592:1: warning: redundant redeclaration of ‘strlcpy’ [-Wredundant-decls]
592 | strlcpy(char *dst, const char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/string.h:26,
from ../src/xf86Wacom.h:27:
/usr/include/bits/string_fortified.h:161:1: note: previous definition of ‘strlcpy’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
/usr/include/xorg/os.h:594:1: warning: redundant redeclaration of ‘strlcat’ [-Wredundant-decls]
594 | strlcat(char *dst, const char *src, size_t siz);
| ^~~~~~~
/usr/include/bits/string_fortified.h:179:1: note: previous definition of ‘strlcat’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
179 | __NTH (strlcat (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
In file included from ../src/xf86Wacom.h:35:
./WacomInterface.h: In function ‘wcmSendEvents’:
./WacomInterface.h:258:42: warning: ‘%s’ directive output may be truncated writing up to 2 bytes into a region of size 1 [-Wformat-truncation=]
258 | rc = snprintf(buf, len, "%s%s: %s", prefix, name, value);
| ^~
In file included from /usr/include/stdio.h:970,
from /usr/include/xorg/os.h:89:
In function ‘snprintf’,
inlined from ‘wcmAxisDump’ at ./WacomInterface.h:258:8,
inlined from ‘wcmSendEvents’ at ../src/wcmCommon.c:921:2:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 4 and 44 bytes into a destination of size 1
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
In file included from /usr/include/xorg/misc.h:119,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from ../src/xf86Wacom.h:30,
from ../src/wcmUSB.c:22:
/usr/include/xorg/os.h:592:1: warning: redundant redeclaration of ‘strlcpy’ [-Wredundant-decls]
592 | strlcpy(char *dst, const char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/string.h:26,
from ../src/xf86Wacom.h:27:
/usr/include/bits/string_fortified.h:161:1: note: previous definition of ‘strlcpy’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
/usr/include/xorg/os.h:594:1: warning: redundant redeclaration of ‘strlcat’ [-Wredundant-decls]
594 | strlcat(char *dst, const char *src, size_t siz);
| ^~~~~~~
/usr/include/bits/string_fortified.h:179:1: note: previous definition of ‘strlcat’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
179 | __NTH (strlcat (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
In file included from /usr/include/xorg/misc.h:119,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from ../src/xf86Wacom.h:30,
from ../src/wcmValidateDevice.c:21:
/usr/include/xorg/os.h:592:1: warning: redundant redeclaration of ‘strlcpy’ [-Wredundant-decls]
592 | strlcpy(char *dst, const char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/string.h:26,
from ../src/xf86Wacom.h:27:
/usr/include/bits/string_fortified.h:161:1: note: previous definition of ‘strlcpy’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
/usr/include/xorg/os.h:594:1: warning: redundant redeclaration of ‘strlcat’ [-Wredundant-decls]
594 | strlcat(char *dst, const char *src, size_t siz);
| ^~~~~~~
/usr/include/bits/string_fortified.h:179:1: note: previous definition of ‘strlcat’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
179 | __NTH (strlcat (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
In file included from /usr/include/xorg/misc.h:119,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from ../src/xf86Wacom.h:30,
from ../src/wcmTouchFilter.c:22:
/usr/include/xorg/os.h:592:1: warning: redundant redeclaration of ‘strlcpy’ [-Wredundant-decls]
592 | strlcpy(char *dst, const char *src, size_t siz);
| ^~~~~~~
In file included from /usr/include/features.h:524,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/string.h:26,
from ../src/xf86Wacom.h:27:
/usr/include/bits/string_fortified.h:161:1: note: previous definition of ‘strlcpy’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
/usr/include/xorg/os.h:594:1: warning: redundant redeclaration of ‘strlcat’ [-Wredundant-decls]
594 | strlcat(char *dst, const char *src, size_t siz);
| ^~~~~~~
/usr/include/bits/string_fortified.h:179:1: note: previous definition of ‘strlcat’ with type ‘size_t(char *, const char *, long unsigned int)’ {aka ‘long unsigned int(char *, const char *, long unsigned int)’}
179 | __NTH (strlcat (__fortify_clang_overload_arg (char *, __restrict, __dest),
| ^~~~~
isdv4-serial-inputattach.c: In function ‘main’:
isdv4-serial-inputattach.c:208:15: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
208 | (void)read(fd, NULL, 0); /* warning fix only, ignore error */
| ^~~~~~~~~~~~~~~~~
libtool: warning: remember to run 'libtool --finish /usr/lib/xorg/modules/input'