keyboards/keychron/bluetooth/bluetooth.c:52:85: error: initialization of 'void ()(report_nkro_t )' from incompatible pointer type 'void ()(report_mouse_t )' [-Werror=incompatible-pointer-types]
52 | driver_t bluetooth_driver = {bluetooth_keyboard_leds, bluetooth_send_keyboard, bluetooth_send_mouse, bluetooth_send_extra};
| ^~~~~~~~
keyboards/keychron/bluetooth/bluetooth.c:52:85: note: (near initialization for 'bluetooth_driver.send_nkro')
keyboards/keychron/bluetooth/bluetooth.c:52:107: error: initialization of 'void ()(report_mouse_t )' from incompatible pointer type 'void ()(report_extra_t )' [-Werror=incompatible-pointer-types]
52 | ver = {bluetooth_keyboard_leds, bluetooth_send_keyboard, bluetooth_send_mouse, bluetooth_send_extra};
| ^~~~~~~~
keyboards/keychron/bluetooth/bluetooth.c:52:107: note: (near initialization for 'bluetooth_driver.send_mouse')
cc1: all warnings being treated as errors
[ERRORS]
make[1]: [builddefs/common_rules.mk:373: .build/obj_keychron_k8_pro_ansi_rgb_via/bluetooth/bluetooth.o] Error 1
Make finished with errors
make: [Makefile:416: keychron/k8_pro/ansi/rgb:via] Error 1
Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.2
Ψ QMK home: /home/olivia/qmk_firmware
Ψ Detected Linux (Arch Linux).
⚠ Missing or outdated udev rules for 'atmel-dfu' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'kiibohd' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'stm32-dfu' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'apm32-dfu' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'gd32v-dfu' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'wb32-dfu' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'bootloadhid' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'usbasploader' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'usbtinyisp' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'md-boot' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'caterina' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
⚠ Missing or outdated udev rules for 'hid-bootloader' boards. Run 'sudo cp /home/olivia/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/'.
Ψ Userspace enabled: False
Ψ Git branch: bluetooth_playground
Ψ Repo version: 0.23.3
Ψ - Latest bluetooth_playground: 2023-07-16 21:05:38 +0800 (dac0e63394) -- fix memory leak when using per key/row debounce
Ψ - Latest upstream/master: 2024-01-06 02:06:14 +0100 (a474cac2c3) -- Update keymap.md (#22834)
Ψ - Latest upstream/develop: 2024-01-06 01:06:51 +0000 (ee3540e8df) -- Merge remote-tracking branch 'origin/master' into develop
Ψ - Common ancestor with upstream/master: 2024-01-04 03:59:38 -0500 (b02abcb9a6) -- Regenerate Files (#22821)
Ψ - Common ancestor with upstream/develop: 2024-01-04 03:59:38 -0500 (b02abcb9a6) -- Regenerate Files (#22821)
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 13.2.0
Ψ Found avr-gcc version 13.2.0
⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended.
Ψ Found avrdude version 7.2
Ψ Found dfu-programmer version 1.0.0
Ψ Found dfu-util version 0.11
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2023-04-15 13:48:04 +0000 -- (11edb16)
Ψ - lib/chibios-contrib: 2023-07-17 11:39:05 +0200 -- (da78eb3)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 -- (e2239ee)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 -- (549b973)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 -- (819dbc1)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 -- (c2e3b4e)
Ψ - lib/pico-sdk: 2023-02-12 20:19:37 +0100 -- (a3398d8)
Ψ - lib/lvgl: 2022-04-11 04:44:53 -0600 -- (e19410f)
Ψ QMK is ready to go, but minor problems were found
Is AutoHotKey / Karabiner installed
[ ] AutoHotKey (Windows)
[ ] Karabiner (macOS)
Other keyboard-related software installed
No response
Additional Context
i am trying to update bluetooth playground to the latest qmk and when trying to compile i get the above error i have no experiance with c and only a basic understanding my fork of qmk irmware has the rgb driver issue sorted and this is the next error that came up
Describe the Bug
keyboards/keychron/bluetooth/bluetooth.c:52:85: error: initialization of 'void ()(report_nkro_t )' from incompatible pointer type 'void ()(report_mouse_t )' [-Werror=incompatible-pointer-types] 52 | driver_t bluetooth_driver = {bluetooth_keyboard_leds, bluetooth_send_keyboard, bluetooth_send_mouse, bluetooth_send_extra}; | ^
~~~~~~~keyboards/keychron/bluetooth/bluetooth.c:52:85: note: (near initialization for 'bluetooth_driver.send_nkro') keyboards/keychron/bluetooth/bluetooth.c:52:107: error: initialization of 'void ()(report_mouse_t )' from incompatible pointer type 'void ()(report_extra_t )' [-Werror=incompatible-pointer-types] 52 | ver = {bluetooth_keyboard_leds, bluetooth_send_keyboard, bluetooth_send_mouse, bluetooth_send_extra}; | ^
~~~~~~~make[1]: [builddefs/common_rules.mk:373: .build/obj_keychron_k8_pro_ansi_rgb_via/bluetooth/bluetooth.o] Error 1 Make finished with errors make: [Makefile:416: keychron/k8_pro/ansi/rgb:via] Error 1
Keyboard Used
keychron/k8_pro
Link to product page (if applicable)
https://www.keychron.com/products/keychron-k8-pro-qmk-via-wireless-mechanical-keyboard
Operating System
arch linux
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
i am trying to update bluetooth playground to the latest qmk and when trying to compile i get the above error i have no experiance with c and only a basic understanding my fork of qmk irmware has the rgb driver issue sorted and this is the next error that came up