-
Notifications
You must be signed in to change notification settings - Fork 448
Open
Labels
hidrawRelated to Linux/hidraw backendRelated to Linux/hidraw backend
Description
Warnings are errors, people!
linux/hidapi/hid.c:23: warning: "_GNU_SOURCE" redefined
23 | #define _GNU_SOURCE /* needed for wcsdup() before glibc 2.10 */
|
<command-line>: note: this is the location of the previous definition
linux/hidapi/hid.c: In function ‘void read_callback(libusb_transfer*)’:
linux/hidapi/hid.c:953:37: error: invalid conversion from ‘void*’ to ‘hid_device*’ {aka ‘hid_device_*’} [-fpermissive]
953 | hid_device *dev = transfer->user_data;
| ~~~~~~~~~~^~~~~~~~~
| |
| void*
linux/hidapi/hid.c: In function ‘void* read_thread(void*)’:
linux/hidapi/hid.c:1022:27: error: invalid conversion from ‘void*’ to ‘hid_device*’ {aka ‘hid_device_*’} [-fpermissive]
1022 | hid_device *dev = param;
| ^~~~~
| |
| void*
linux/hidapi/hid.c: In function ‘void cleanup_mutex(void*)’:
linux/hidapi/hid.c:1480:27: error: invalid conversion from ‘void*’ to ‘hid_device*’ {aka ‘hid_device_*’} [-fpermissive]
1480 | hid_device *dev = param;
| ^~~~~
| |
| void*
Metadata
Metadata
Assignees
Labels
hidrawRelated to Linux/hidraw backendRelated to Linux/hidraw backend