Skip to content

Instantly share code, notes, and snippets.

@arkag
Last active August 28, 2018 21:13
Show Gist options
  • Select an option

  • Save arkag/8deea6dfd0ef54e46e6a1c309ab7c703 to your computer and use it in GitHub Desktop.

Select an option

Save arkag/8deea6dfd0ef54e46e6a1c309ab7c703 to your computer and use it in GitHub Desktop.
halp
2/keymaps/ark/keymap.c:42:6: error: function declaration isn't a prototype [-Werror=strict-prototypes]
void toggle_os() {
^~~~~~~~~
keyboards/mechmini/v2/keymaps/ark/keymap.c: In function 'process_record_keymap':
keyboards/mechmini/v2/keymaps/ark/keymap.c:178:9: error: case label value exceeds maximum value for type [-Werror]
case TOG_OS:
^~~~
keyboards/mechmini/v2/keymaps/ark/keymap.c:181:9: error: case label value exceeds maximum value for type [-Werror]
case M_PRI_MOD:
^~~~
keyboards/mechmini/v2/keymaps/ark/keymap.c:184:9: error: case label value exceeds maximum value for type [-Werror]
case M_SEC_MOD:
^~~~
keyboards/mechmini/v2/keymaps/ark/keymap.c:179:13: error: statement will never be executed [-Werror=switch-unreachable]
toggle_os();
^~~~~~~~~~~
cc1: all warnings being treated as errors
[ERRORS]
|
|
|
make[1]: *** [tmk_core/rules.mk:360: .build/obj_mechmini_v2_ark/keyboards/mechmini/v2/keymaps/ark/keymap.o] Error 1
make: *** [Makefile:544: mechmini/v2:ark] Error 1
Make finished with errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment