Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Compiling: keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c In file included from quantum/rgblight.h:136:0,
from quantum/quantum.h:38,
from keyboards/ergodox_ez/ergodox_ez.h:4,
from keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:1:
quantum/rgblight_list.h:27:26: error: expected identifier before numeric constant
#define RGB_GREEN 0x00, 0xFF, 0x00
^
keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/custom_keycodes.c:4:5: note: in expansion of macro ‘RGB_GREEN’
RGB_GREEN, // To set default RGB layer as green once.
^
In file included from keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:23:0:
quantum/dynamic_macro.h:41:22: error: ‘DYNAMIC_MACRO_RANGE’ undeclared here (not in a function)
DYN_REC_START1 = DYNAMIC_MACRO_RANGE,
^
In file included from keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:1:0:
quantum/rgblight_list.h:27:32: error: excess elements in array initializer [-Werror]
#define RGB_GREEN 0x00, 0xFF, 0x00
^
keyboards/ergodox_ez/ergodox_ez.h:149:32: note: in definition of macro ‘LAYOUT_ergodox’
{ k0C, k1C, k2C, k3C, k4C, k5C }, \
^
keyboards/ergodox_ez/keymaps/hacker_dvorak/hacker_dvorak.c:298:9: note: in expansion of macro ‘RGB_GREEN’
RGB_GREEN, XXXXXXX, XXXXXXX
^
quantum/rgblight_list.h:27:32: note: (near initialization for ‘keymaps[7][12]’)
#define RGB_GREEN 0x00, 0xFF, 0x00
^
keyboards/ergodox_ez/ergodox_ez.h:149:32: note: in definition of macro ‘LAYOUT_ergodox’
{ k0C, k1C, k2C, k3C, k4C, k5C }, \
^
keyboards/ergodox_ez/keymaps/hacker_dvorak/hacker_dvorak.c:298:9: note: in expansion of macro ‘RGB_GREEN’
RGB_GREEN, XXXXXXX, XXXXXXX
^
quantum/rgblight_list.h:27:38: error: excess elements in array initializer [-Werror]
#define RGB_GREEN 0x00, 0xFF, 0x00
^
keyboards/ergodox_ez/ergodox_ez.h:149:32: note: in definition of macro ‘LAYOUT_ergodox’
{ k0C, k1C, k2C, k3C, k4C, k5C }, \
^
keyboards/ergodox_ez/keymaps/hacker_dvorak/hacker_dvorak.c:298:9: note: in expansion of macro ‘RGB_GREEN’
RGB_GREEN, XXXXXXX, XXXXXXX
^
quantum/rgblight_list.h:27:38: note: (near initialization for ‘keymaps[7][12]’)
#define RGB_GREEN 0x00, 0xFF, 0x00
^
keyboards/ergodox_ez/ergodox_ez.h:149:32: note: in definition of macro ‘LAYOUT_ergodox’
{ k0C, k1C, k2C, k3C, k4C, k5C }, \
^
keyboards/ergodox_ez/keymaps/hacker_dvorak/hacker_dvorak.c:298:9: note: in expansion of macro ‘RGB_GREEN’
RGB_GREEN, XXXXXXX, XXXXXXX
^
In file included from keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:26:0:
keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c: In function ‘process_record_user’:
keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c:60:14: error: ‘MY_CUSTOM_MACRO’ undeclared (first use in this function)
case MY_CUSTOM_MACRO:
^
keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c:60:14: note: each undeclared identifier is reported only once for each function it appears in
keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c:66:14: error: ‘MY_OTHER_MACRO’ undeclared (first use in this function)
case MY_OTHER_MACRO:
^
cc1: all warnings being treated as errors
[ERRORS]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.