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
When enabled CONFIG_ZMK_USB=y, the following error -Wincompatible-pointer-types shows:
/zmk/app/src/usb_hid.c: In function‘get_report_cb’:
/zmk/app/src/usb_hid.c:92:41: error: passing argument 1 of ‘get_keyboard_report’ from incompatible pointer type [-Wincompatible-pointer-types]
92 |*data = get_keyboard_report(len);| ^~~
||| int32_t * {aka int *}
compilation terminated due to -Wfatal-errors.
Example
$ echo"CONFIG_ZMK_USB=y"> tests/none/normal/native_posix_64.conf
$ west build --pristine --board native_posix_64 -- -DZMK_CONFIG=tests/none/normal/
...
/zmk/app/src/usb_hid.c:92:41: error: passing argument 1 of ‘get_keyboard_report’ from incompatible pointer type [-Wincompatible-pointer-types]
...
The text was updated successfully, but these errors were encountered:
When enabled
CONFIG_ZMK_USB=y
, the following error-Wincompatible-pointer-types
shows:Example
The text was updated successfully, but these errors were encountered: