Advertisement
Prokas

ERROR

Mar 3rd, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. -------- begin --------
  2. avr-gcc.exe (AVR_8_bit_GNU_Toolchain_3.6.1_1752) 5.4.0
  3. Copyright (C) 2015 Free Software Foundation, Inc.
  4. This is free software; see the source for copying conditions. There is NO
  5. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  6.  
  7.  
  8. mkdir -p obj_gh60_lufa
  9. Compiling C: keymap_poker.c
  10. avr-gcc -c -mmcu=at90usb1287 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_ENDPOINT -DBOOTLOADER_SIZE=4096 -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DVERSION=unknown -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_gh60_lufa/keymap_poker.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_gh60_lufa_keymap_poker.o.d keymap_poker.c -o obj_gh60_lufa/keymap_poker.o
  11. keymap_poker.c:26:3: warning: braces around scalar initializer
  12. [0] = ACTION_LAYER_MOMENTARY(1),
  13. ^
  14. keymap_poker.c:26:3: note: (near initialization for 'fn_actions[0]')
  15. In file included from ../../tmk_core/common/action.h:24:0,
  16. from keymap_common.h:23,
  17. from keymap_poker.c:1:
  18. ../../tmk_core/common/action_code.h:189:43: error: field name not in record or union initializer
  19. #define ACTION(kind, param) { .code = ((kind)<<12 | (param)) }
  20. ^
  21. ../../tmk_core/common/action_code.h:259:53: note: in expansion of macro 'ACTION'
  22. #define ACTION_LAYER_TAP(layer, key) ACTION(ACT_LAYER_TAP, (layer)<<8 | (key))
  23. ^
  24. ../../tmk_core/common/action_code.h:271:53: note: in expansion of macro 'ACTION_LAYER_TAP'
  25. #define ACTION_LAYER_ON_OFF(layer) ACTION_LAYER_TAP((layer), OP_ON_OFF)
  26. ^
  27. ../../tmk_core/common/action_code.h:265:53: note: in expansion of macro 'ACTION_LAYER_ON_OFF'
  28. #define ACTION_LAYER_MOMENTARY(layer) ACTION_LAYER_ON_OFF(layer)
  29. ^
  30. keymap_poker.c:26:9: note: in expansion of macro 'ACTION_LAYER_MOMENTARY'
  31. [0] = ACTION_LAYER_MOMENTARY(1),
  32. ^
  33. ../../tmk_core/common/action_code.h:189:43: note: (near initialization for 'fn_actions[0]')
  34. #define ACTION(kind, param) { .code = ((kind)<<12 | (param)) }
  35. ^
  36. ../../tmk_core/common/action_code.h:259:53: note: in expansion of macro 'ACTION'
  37. #define ACTION_LAYER_TAP(layer, key) ACTION(ACT_LAYER_TAP, (layer)<<8 | (key))
  38. ^
  39. ../../tmk_core/common/action_code.h:271:53: note: in expansion of macro 'ACTION_LAYER_TAP'
  40. #define ACTION_LAYER_ON_OFF(layer) ACTION_LAYER_TAP((layer), OP_ON_OFF)
  41. ^
  42. ../../tmk_core/common/action_code.h:265:53: note: in expansion of macro 'ACTION_LAYER_ON_OFF'
  43. #define ACTION_LAYER_MOMENTARY(layer) ACTION_LAYER_ON_OFF(layer)
  44. ^
  45. keymap_poker.c:26:9: note: in expansion of macro 'ACTION_LAYER_MOMENTARY'
  46. [0] = ACTION_LAYER_MOMENTARY(1),
  47. ^
  48. keymap_poker.c:27:3: warning: braces around scalar initializer
  49. [1] = ACTION_LAYER_TAP_KEY(1, KC_ESC),
  50. ^
  51. keymap_poker.c:27:3: note: (near initialization for 'fn_actions[1]')
  52. In file included from ../../tmk_core/common/action.h:24:0,
  53. from keymap_common.h:23,
  54. from keymap_poker.c:1:
  55. ../../tmk_core/common/action_code.h:189:43: error: field name not in record or union initializer
  56. #define ACTION(kind, param) { .code = ((kind)<<12 | (param)) }
  57. ^
  58. ../../tmk_core/common/action_code.h:259:53: note: in expansion of macro 'ACTION'
  59. #define ACTION_LAYER_TAP(layer, key) ACTION(ACT_LAYER_TAP, (layer)<<8 | (key))
  60. ^
  61. ../../tmk_core/common/action_code.h:276:53: note: in expansion of macro 'ACTION_LAYER_TAP'
  62. #define ACTION_LAYER_TAP_KEY(layer, key) ACTION_LAYER_TAP((layer), (key))
  63. ^
  64. keymap_poker.c:27:9: note: in expansion of macro 'ACTION_LAYER_TAP_KEY'
  65. [1] = ACTION_LAYER_TAP_KEY(1, KC_ESC),
  66. ^
  67. ../../tmk_core/common/action_code.h:189:43: note: (near initialization for 'fn_actions[1]')
  68. #define ACTION(kind, param) { .code = ((kind)<<12 | (param)) }
  69. ^
  70. ../../tmk_core/common/action_code.h:259:53: note: in expansion of macro 'ACTION'
  71. #define ACTION_LAYER_TAP(layer, key) ACTION(ACT_LAYER_TAP, (layer)<<8 | (key))
  72. ^
  73. ../../tmk_core/common/action_code.h:276:53: note: in expansion of macro 'ACTION_LAYER_TAP'
  74. #define ACTION_LAYER_TAP_KEY(layer, key) ACTION_LAYER_TAP((layer), (key))
  75. ^
  76. keymap_poker.c:27:9: note: in expansion of macro 'ACTION_LAYER_TAP_KEY'
  77. [1] = ACTION_LAYER_TAP_KEY(1, KC_ESC),
  78. ^
  79. make: *** [../../tmk_core/rules.mk:557: obj_gh60_lufa/keymap_poker.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement