Skip to content

Instantly share code, notes, and snippets.

@nchristus
Created October 5, 2018 17:50
Show Gist options
  • Save nchristus/59a11ad603c05022e7a08913398c1fb2 to your computer and use it in GitHub Desktop.
Save nchristus/59a11ad603c05022e7a08913398c1fb2 to your computer and use it in GitHub Desktop.
QMK compile
In file included from keyboards/vitamins_included/keymaps/nchristus/keymap.c:2:0:
users/nchristus/nchristus.h:35:29: error: implicit declaration of function 'LAYOUT' [-Werror=implicit-function-declaration]
#define KEYMAP_wrapper(...) LAYOUT(__VA_ARGS__)
^
keyboards/vitamins_included/keymaps/nchristus/keymap.c:11:14: note: in expansion of macro 'KEYMAP_wrapper'
[_QWRTY] = KEYMAP_wrapper(
^~~~~~~~~~~~~~
users/nchristus/nchristus.h:35:29: error: initializer element is not constant
#define KEYMAP_wrapper(...) LAYOUT(__VA_ARGS__)
^
keyboards/vitamins_included/keymaps/nchristus/keymap.c:11:14: note: in expansion of macro 'KEYMAP_wrapper'
[_QWRTY] = KEYMAP_wrapper(
^~~~~~~~~~~~~~
users/nchristus/nchristus.h:35:29: note: (near initialization for 'keymaps[0][0][0]')
#define KEYMAP_wrapper(...) LAYOUT(__VA_ARGS__)
^
keyboards/vitamins_included/keymaps/nchristus/keymap.c:11:14: note: in expansion of macro 'KEYMAP_wrapper'
[_QWRTY] = KEYMAP_wrapper(
^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[ERRORS]
|
|
|
make[1]: *** [.build/obj_vitamins_included_rev1_nchristus/keyboards/vitamins_included/keymaps/nchristus/keymap.o] Error 1
make: *** [vitamins_included:nchristus] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment