You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling openocd (latest version from git) fails with the following error message:
/usr/include/hidapi/hidapi.h:481:32: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
481 | HID_API_EXPORT const struct hid_api_version* HID_API_CALL hid_version();
| ^~~~~~~~~~~~~~~
/usr/include/hidapi/hidapi.h:491:3: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
491 | HID_API_EXPORT const char* HID_API_CALL hid_version_str();
| ^~~~~~~~~~~~~~
Adding void as parameter for the two functions will fix the issue.
HID_API_EXPORT const struct hid_api_version* HID_API_CALL hid_version(void);
HID_API_EXPORT const char* HID_API_CALL hid_version_str(void);
Would be possible to fix this in order to avoid this problem?
BR,
Mihai
The text was updated successfully, but these errors were encountered:
…GetSerialNumberString (signal11#464)
This is efficient for Xbox Common Controller class (XUSB) devices like Xbox 360 or Xbox One controllers that are missing serial number via usual HID API.
Hello,
Compiling openocd (latest version from git) fails with the following error message:
/usr/include/hidapi/hidapi.h:481:32: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
481 | HID_API_EXPORT const struct hid_api_version* HID_API_CALL hid_version();
| ^~~~~~~~~~~~~~~
/usr/include/hidapi/hidapi.h:491:3: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
491 | HID_API_EXPORT const char* HID_API_CALL hid_version_str();
| ^~~~~~~~~~~~~~
Adding void as parameter for the two functions will fix the issue.
HID_API_EXPORT const struct hid_api_version* HID_API_CALL hid_version(void);
HID_API_EXPORT const char* HID_API_CALL hid_version_str(void);
Would be possible to fix this in order to avoid this problem?
BR,
Mihai
The text was updated successfully, but these errors were encountered: