qmk_firmware icon indicating copy to clipboard operation
qmk_firmware copied to clipboard

[Bug] Building fails due to keymaps/CarmineCrown/keymap.c

Open justinsteven opened this issue 3 years ago • 1 comments

keymaps/CarmineCrown/keymap.c uses removed annepro2LedSetMask() and annepro2LedClearMask() functions

running make annepro2/c18 gives the following:

Making annepro2/c18 with keymap CarmineCrown                                                           [ERRORS]
keyboards/annepro2/keymaps/CarmineCrown/keymap.c: In function 'led_update_user':
keyboards/annepro2/keymaps/CarmineCrown/keymap.c:143:5: error: implicit declaration of function 'annepro2LedSetMask'; did you mean 'annepro2LedBlink'? [-Werror=implicit-function-declaration]
     annepro2LedSetMask(CAPS_LOCATION);
     ^~~~~~~~~~~~~~~~~~
     annepro2LedBlink
keyboards/annepro2/keymaps/CarmineCrown/keymap.c:145:5: error: implicit declaration of function 'annepro2LedClearMask'; did you mean 'annepro2LedBlink'? [-Werror=implicit-function-declaration]
     annepro2LedClearMask(CAPS_LOCATION);
     ^~~~~~~~~~~~~~~~~~~~
     annepro2LedBlink
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [tmk_core/rules.mk:412: .build/obj_annepro2_c18_CarmineCrown/keyboards/annepro2/keymaps/CarmineCrown/keymap.o] Error 1

justinsteven avatar Jul 31 '21 05:07 justinsteven

i have it fixed, i will post a PR later on with the fixes needed.

So all you need todo : is delete the CarmineCrown Folder in annepro-qmk/keyboards/annepro2/keymaps/CarmineCrown then it should build sucessfully. image

DylanJRoberts avatar Aug 14 '21 09:08 DylanJRoberts