Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------- begin --------
- avr-gcc.exe (AVR_8_bit_GNU_Toolchain_3.6.1_1752) 5.4.0
- Copyright (C) 2015 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- mkdir -p obj_gh60_lufa
- Compiling C: keymap_poker.c
- 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
- keymap_poker.c:26:3: warning: braces around scalar initializer
- [0] = ACTION_LAYER_MOMENTARY(1),
- ^
- keymap_poker.c:26:3: note: (near initialization for 'fn_actions[0]')
- In file included from ../../tmk_core/common/action.h:24:0,
- from keymap_common.h:23,
- from keymap_poker.c:1:
- ../../tmk_core/common/action_code.h:189:43: error: field name not in record or union initializer
- #define ACTION(kind, param) { .code = ((kind)<<12 | (param)) }
- ^
- ../../tmk_core/common/action_code.h:259:53: note: in expansion of macro 'ACTION'
- #define ACTION_LAYER_TAP(layer, key) ACTION(ACT_LAYER_TAP, (layer)<<8 | (key))
- ^
- ../../tmk_core/common/action_code.h:271:53: note: in expansion of macro 'ACTION_LAYER_TAP'
- #define ACTION_LAYER_ON_OFF(layer) ACTION_LAYER_TAP((layer), OP_ON_OFF)
- ^
- ../../tmk_core/common/action_code.h:265:53: note: in expansion of macro 'ACTION_LAYER_ON_OFF'
- #define ACTION_LAYER_MOMENTARY(layer) ACTION_LAYER_ON_OFF(layer)
- ^
- keymap_poker.c:26:9: note: in expansion of macro 'ACTION_LAYER_MOMENTARY'
- [0] = ACTION_LAYER_MOMENTARY(1),
- ^
- ../../tmk_core/common/action_code.h:189:43: note: (near initialization for 'fn_actions[0]')
- #define ACTION(kind, param) { .code = ((kind)<<12 | (param)) }
- ^
- ../../tmk_core/common/action_code.h:259:53: note: in expansion of macro 'ACTION'
- #define ACTION_LAYER_TAP(layer, key) ACTION(ACT_LAYER_TAP, (layer)<<8 | (key))
- ^
- ../../tmk_core/common/action_code.h:271:53: note: in expansion of macro 'ACTION_LAYER_TAP'
- #define ACTION_LAYER_ON_OFF(layer) ACTION_LAYER_TAP((layer), OP_ON_OFF)
- ^
- ../../tmk_core/common/action_code.h:265:53: note: in expansion of macro 'ACTION_LAYER_ON_OFF'
- #define ACTION_LAYER_MOMENTARY(layer) ACTION_LAYER_ON_OFF(layer)
- ^
- keymap_poker.c:26:9: note: in expansion of macro 'ACTION_LAYER_MOMENTARY'
- [0] = ACTION_LAYER_MOMENTARY(1),
- ^
- keymap_poker.c:27:3: warning: braces around scalar initializer
- [1] = ACTION_LAYER_TAP_KEY(1, KC_ESC),
- ^
- keymap_poker.c:27:3: note: (near initialization for 'fn_actions[1]')
- In file included from ../../tmk_core/common/action.h:24:0,
- from keymap_common.h:23,
- from keymap_poker.c:1:
- ../../tmk_core/common/action_code.h:189:43: error: field name not in record or union initializer
- #define ACTION(kind, param) { .code = ((kind)<<12 | (param)) }
- ^
- ../../tmk_core/common/action_code.h:259:53: note: in expansion of macro 'ACTION'
- #define ACTION_LAYER_TAP(layer, key) ACTION(ACT_LAYER_TAP, (layer)<<8 | (key))
- ^
- ../../tmk_core/common/action_code.h:276:53: note: in expansion of macro 'ACTION_LAYER_TAP'
- #define ACTION_LAYER_TAP_KEY(layer, key) ACTION_LAYER_TAP((layer), (key))
- ^
- keymap_poker.c:27:9: note: in expansion of macro 'ACTION_LAYER_TAP_KEY'
- [1] = ACTION_LAYER_TAP_KEY(1, KC_ESC),
- ^
- ../../tmk_core/common/action_code.h:189:43: note: (near initialization for 'fn_actions[1]')
- #define ACTION(kind, param) { .code = ((kind)<<12 | (param)) }
- ^
- ../../tmk_core/common/action_code.h:259:53: note: in expansion of macro 'ACTION'
- #define ACTION_LAYER_TAP(layer, key) ACTION(ACT_LAYER_TAP, (layer)<<8 | (key))
- ^
- ../../tmk_core/common/action_code.h:276:53: note: in expansion of macro 'ACTION_LAYER_TAP'
- #define ACTION_LAYER_TAP_KEY(layer, key) ACTION_LAYER_TAP((layer), (key))
- ^
- keymap_poker.c:27:9: note: in expansion of macro 'ACTION_LAYER_TAP_KEY'
- [1] = ACTION_LAYER_TAP_KEY(1, KC_ESC),
- ^
- make: *** [../../tmk_core/rules.mk:557: obj_gh60_lufa/keymap_poker.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement