Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: implicit declaration of function 'LAYOUT_split_3x6_3' #21

Open
kguidonimartins opened this issue Dec 19, 2022 · 0 comments
Open

Comments

@kguidonimartins
Copy link

kguidonimartins commented Dec 19, 2022

Hi @diepala,

I'm trying to flash my cantor (not for the first time), and there is an error during the compilation. Even via docker, the error persists.

# ~/.config/qmk/qmk_firmware ❯ sh util/docker_build.sh cantor:default:flash
QMK Firmware 0.16.5
Making cantor with keymap default and target flash

arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Size before:
   text    data     bss     dec     hex filename
      0   26776       0   26776    6898 cantor_default.bin

Compiling: .build/obj_cantor/src/default_keyboard.c                                                 [OK]
Compiling: quantum/keymap_introspection.c                                                          In file included from quantum/keymap_introspection.c:5:
./keyboards/cantor/keymaps/default/keymap.c:21:11: error: implicit declaration of function 'LAYOUT_split_3x6_3' [-Werror=implicit-function-declaration]
     [0] = LAYOUT_split_3x6_3(
           ^~~~~~~~~~~~~~~~~~
./keyboards/cantor/keymaps/default/keymap.c:21:11: error: initializer element is not constant
./keyboards/cantor/keymaps/default/keymap.c:21:11: note: (near initialization for 'keymaps[0][0][0]')
cc1: all warnings being treated as errors
 [ERRORS]
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:360: .build/obj_cantor_default/quantum/keymap_introspection.o] Error 1
Make finished with errors
make: *** [Makefile:414: cantor:default:flash] Error 1

Sorry, but I don't know if this is the better place to report this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant