Advertisement
Guest User

QMK error

a guest
Dec 6th, 2021
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. Copyright (C) 2018 Free Software Foundation, Inc.
  2. This is free software; see the source for copying conditions. There is NO
  3. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  4.  
  5. Compiling: keyboards/Yampad_main/keymaps/default/keymap.c In file included from keyboards/Yampad_main/keymaps/default/keymap.c:25:
  6. ./.build/obj_Yampad_main/src/default_keyboard.h:6: error: ignoring #pragma error [-Werror=unknown-pragmas]
  7. #pragma error("<keyboard>.h is only optional for data driven keyboards - kb.h == bad times")
  8.  
  9. keyboards/Yampad_main/keymaps/default/keymap.c:55:11: error: implicit declaration of function 'LAYOUT'; did you mean 'NAKOUTE'? [-Werror=implicit-function-declaration]
  10. [_BL] = LAYOUT(
  11. ^~~~~~
  12. NAKOUTE
  13. keyboards/Yampad_main/keymaps/default/keymap.c:55:11: error: initializer element is not constant
  14. keyboards/Yampad_main/keymaps/default/keymap.c:55:11: note: (near initialization for 'keymaps[0][0][0]')
  15. keyboards/Yampad_main/keymaps/default/keymap.c:76:11: error: initializer element is not constant
  16. [_NV] = LAYOUT(
  17. ^~~~~~
  18. keyboards/Yampad_main/keymaps/default/keymap.c:76:11: note: (near initialization for 'keymaps[1][0][0]')
  19. keyboards/Yampad_main/keymaps/default/keymap.c:97:11: error: initializer element is not constant
  20. [_FN] = LAYOUT(
  21. ^~~~~~
  22. keyboards/Yampad_main/keymaps/default/keymap.c:97:11: note: (near initialization for 'keymaps[2][0][0]')
  23. keyboards/Yampad_main/keymaps/default/keymap.c:137:6: error: conflicting types for 'oled_task_user'
  24. void oled_task_user(void) {
  25. ^~~~~~~~~~~~~~
  26. In file included from quantum/quantum.h:180,
  27. from ./.build/obj_Yampad_main/src/default_keyboard.h:5,
  28. from keyboards/Yampad_main/keymaps/default/keymap.c:25:
  29. drivers/oled/oled_driver.h:290:6: note: previous declaration of 'oled_task_user' was here
  30. bool oled_task_user(void);
  31. ^~~~~~~~~~~~~~
  32. cc1.exe: all warnings being treated as errors
  33. [ERRORS]
  34. |
  35. |
  36. |
  37. make[1]: *** [tmk_core/rules.mk:457: .build/obj_Yampad_main_default/keyboards/Yampad_main/keymaps/default/keymap.o] Error 1
  38. Make finished with errors
  39. make: *** [Makefile:478: Yampad_main:default] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement