Advertisement
ntaaa

QMK error

Jun 19th, 2018
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.11 KB | None | 0 0
  1. Compiling: users/Andreas/Andreas.c                                                                 users/Andreas/Andreas.c:60:8: error: unknown type name 'tap'
  2.  static tap xtap_state = {
  3.         ^
  4. users/Andreas/Andreas.c:61:3: error: field name not in record or union initializer
  5.    .is_press_action = true,
  6.    ^
  7. users/Andreas/Andreas.c:61:3: error: (near initialization for 'xtap_state')
  8. users/Andreas/Andreas.c:62:3: error: field name not in record or union initializer
  9.    .state = 0
  10.    ^
  11. users/Andreas/Andreas.c:62:3: error: (near initialization for 'xtap_state')
  12. users/Andreas/Andreas.c:63:1: error: excess elements in scalar initializer [-Werror]
  13.  };
  14.  ^
  15. users/Andreas/Andreas.c:63:1: error: (near initialization for 'xtap_state') [-Werror]
  16. users/Andreas/Andreas.c: In function 'x_finished':
  17. users/Andreas/Andreas.c:66:13: error: request for member 'state' in something not a structure or union
  18.    xtap_state.state = cur_dance(state);
  19.              ^
  20. users/Andreas/Andreas.c:67:21: error: request for member 'state' in something not a structure or union
  21.    switch (xtap_state.state) {
  22.                      ^
  23. users/Andreas/Andreas.c: In function 'x_reset':
  24. users/Andreas/Andreas.c:80:21: error: request for member 'state' in something not a structure or union
  25.    switch (xtap_state.state) {
  26.                      ^
  27. users/Andreas/Andreas.c:87:13: error: request for member 'state' in something not a structure or union
  28.    xtap_state.state = 0;
  29.              ^
  30. users/Andreas/Andreas.c: At top level:
  31. users/Andreas/Andreas.c:91:4: error: 'X_CTL' undeclared here (not in a function)
  32.    [X_CTL]     = ACTION_TAP_DANCE_FN_ADVANCED(NULL,x_finished, x_reset)
  33.     ^
  34. users/Andreas/Andreas.c:91:3: error: array index in initializer not of integer type
  35.    [X_CTL]     = ACTION_TAP_DANCE_FN_ADVANCED(NULL,x_finished, x_reset)
  36.    ^
  37. users/Andreas/Andreas.c:91:3: error: (near initialization for 'tap_dance_actions')
  38. cc1.exe: all warnings being treated as errors
  39.  [ERRORS]
  40.  |
  41.  |
  42.  |
  43. make[1]: *** [tmk_core/rules.mk:360: .build/obj_dz60_Andreas/Andreas.o] Error 1
  44. Make finished with errors
  45. make: *** [Makefile:549: dz60:Andreas] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement