Open
Description
Full error:
include -I../../../include -fvisibility=hidden -fPIC -DLIBDIR=\"/usr/local/lib\" -DLIBSUBDIR=\"libv4l\" -g -O1 -Wall -Wno-unused -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -o control/libv4lcontrol.o control/libv4lcontrol.c
control/libv4lcontrol.c: In function ‘v4lcontrol_init_flags’:
control/libv4lcontrol.c:260:11: error: called object ‘minor’ is not a function or function pointer
260 | minor == minor(st.st_rdev))
| ^~~~~
control/libv4lcontrol.c:232:10: note: declared here
232 | int i, minor;
| ^~~~~
control/libv4lcontrol.c: In function ‘v4lcontrol_create’:
control/libv4lcontrol.c:427:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
427 | ftruncate(shm_fd, V4LCONTROL_SHM_SIZE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels