diepala/cantor

error: implicit declaration of function 'LAYOUT_split_3x6_3'

kguidonimartins opened this issue · 0 comments

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.