Pastebin
Paste #24892: No description
< previous paste - next paste>
Pasted by Anonymous Coward
keyboards/moonlander/keymaps/td-moon/keymap.c:271:1: error: unknown type name 'tap_dance_action_t'; did you mean 'qk_tap_dance_action_t'?
271 | tap_dance_action_t tap_dance_actions[] = {
| ^~~~~~~~~~~~~~~~~~
| qk_tap_dance_action_t
keyboards/moonlander/keymaps/td-moon/keymap.c:271:20: error: conflicting types for 'tap_dance_actions'
271 | tap_dance_action_t tap_dance_actions[] = {
| ^~~~~~~~~~~~~~~~~
In file included from quantum/quantum.h:121,
from keyboards/moonlander/moonlander.h:23,
from keyboards/moonlander/keymaps/td-moon/keymap.c:1:
quantum/process_keycode/process_tap_dance.h:82:30: note: previous declaration of 'tap_dance_actions' was here
82 | extern qk_tap_dance_action_t tap_dance_actions[];
| ^~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:9: error: braces around scalar initializer [-Werror]
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^
keyboards/moonlander/keymaps/td-moon/keymap.c:272:9: note: (near initialization for 'tap_dance_actions[0]')
In file included from quantum/quantum.h:121,
from keyboards/moonlander/moonlander.h:23,
from keyboards/moonlander/keymaps/td-moon/keymap.c:1:
quantum/process_keycode/process_tap_dance.h:77:11: error: field name not in record or union initializer
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^
keyboards/moonlander/keymaps/td-moon/keymap.c:272:21: note: in expansion of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:11: note: (near initialization for 'tap_dance_actions[0]')
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^
keyboards/moonlander/keymaps/td-moon/keymap.c:272:21: note: in expansion of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:9: error: braces around scalar initializer [-Werror]
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^
keyboards/moonlander/keymaps/td-moon/keymap.c:272:9: note: (near initialization for 'tap_dance_actions[0]')
In file included from quantum/quantum.h:121,
from keyboards/moonlander/moonlander.h:23,
from keyboards/moonlander/keymaps/td-moon/keymap.c:1:
keyboards/moonlander/keymaps/td-moon/keymap.c:272:50: error: 'on_dance_0' undeclared here (not in a function)
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:18: note: in definition of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^~~~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:62: error: 'dance_0_finished' undeclared here (not in a function)
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:39: note: in definition of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^~~~~~~~~~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:62: error: excess elements in scalar initializer [-Werror]
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:39: note: in definition of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^~~~~~~~~~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:62: note: (near initialization for 'tap_dance_actions[0]')
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:39: note: in definition of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^~~~~~~~~~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:80: error: 'dance_0_reset' undeclared here (not in a function)
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:66: note: in definition of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^~~~~~~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:80: error: excess elements in scalar initializer [-Werror]
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:66: note: in definition of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^~~~~~~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:80: note: (near initialization for 'tap_dance_actions[0]')
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:66: note: in definition of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^~~~~~~~~~~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:91: error: field name not in record or union initializer
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^
keyboards/moonlander/keymaps/td-moon/keymap.c:272:21: note: in expansion of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
quantum/process_keycode/process_tap_dance.h:77:91: note: (near initialization for 'tap_dance_actions[0]')
77 | { .fn = {user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset}, .user_data = NULL, }
| ^
keyboards/moonlander/keymaps/td-moon/keymap.c:272:21: note: in expansion of macro 'ACTION_TAP_DANCE_FN_ADVANCED'
272 | [DANCE_0] = ACTION_TAP_DANCE_FN_ADVANCED(on_dance_0, dance_0_finished, dance_0_reset),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
keyboards/moonlander/keymaps/td-moon/keymap.c:272:21: error: excess elements in scalar initializer [-Werror]
keyboards/moonlander/keymaps/td-moon/keymap.c:272:21: note: (near initialization for 'tap_dance_actions[0]')
keyboards/moonlander/keymaps/td-moon/keymap.c:218:12: error: 'dance_state' defined but not used [-Werror=unused-variable]
218 | static tap dance_state[1];
| ^~~~~~~~~~~
cc1.exe: all warnings being treated as errors
[ERRORS]
|
|
|
make[1]: *** [builddefs/common_rules.mk:453: .build/obj_moonlander_td-moon/keyboards/moonlander/keymaps/td-moon/keymap.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Compiling: quantum/send_string.c [OK]
Compiling: quantum/led.c [OK]
Compiling: quantum/eeconfig.c [OK]
Compiling: quantum/action_tapping.c [OK]
Compiling: quantum/action.c [OK]
Compiling: quantum/action_layer.c [OK]
Compiling: quantum/action_util.c [OK]
Make finished with errors
make: *** [Makefile:425: moonlander:td-moon] Error 1
real 1m9.024s
user 0m0.000s
sys 0m0.015s
New Paste
Go to most recent paste.