/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -g -DUSE_VERBOSE -DNO_BUF_VERBOSE -DHAVE_XOSD -DXNEE_XINPUT_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xnee_fake.lo xnee_fake.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -g -DUSE_VERBOSE -DNO_BUF_VERBOSE -DHAVE_XOSD -DXNEE_XINPUT_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xnee_fake.c -fPIC -DPIC -o .libs/xnee_fake.o
In file included from ../include/libxnee/print.h:24,
from xnee_fake.c:28:
xnee_fake.c: In function ‘xnee_fake_motion_event_impl’: xnee_fake.c:675:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
675 | (int) xd->fake,
| ^
../include/libxnee/print_varargs.h:55:39: note: in definition of macro ‘xnee_verbose’
55 | #define xnee_verbose(a) xnee_verbosef a
| ^
xnee_fake.c:676:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
676 | (int) xdevice,
| ^
../include/libxnee/print_varargs.h:55:39: note: in definition of macro ‘xnee_verbose’
55 | #define xnee_verbose(a) xnee_verbosef a
| ^
xnee_fake.c: In function ‘xnee_type_file’:
xnee_fake.c:804:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
804 | xnee_verbose ((xd," xnee_type_file loop read size=" SIZE_T_PRINTF_FMT " \"%s\"\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
805 | strlen(tmp),tmp));
| ~~~~~~~~~~~
| |
| size_t {aka long unsigned int} ../include/libxnee/print_varargs.h:55:39: note: in definition of macro ‘xnee_verbose’
55 | #define xnee_verbose(a) xnee_verbosef a
| ^
xnee_fake.c:809:15: error: implicit declaration of function ‘xnee_check_key’; did you mean ‘xnee_check_true’? [-Werror=implicit-function-declaration]
809 | if (xnee_check_key (xd)==XNEE_GRAB_DATA)
| ^~~~~~~~~~~~~~
| xnee_check_true
xnee_fake.c:811:22: error: implicit declaration of function ‘xnee_handle_rec_key’; did you mean ‘xnee_handle_meta_data’? [-Werror=implicit-function-declaration]
811 | mode = xnee_handle_rec_key(xd);
| ^~~~~~~~~~~~~~~~~~~
| xnee_handle_meta_data
cc1: some warnings being treated as errors
make[4]: *** [Makefile:634: xnee_fake.lo] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 11:37:27 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,377 |