Skip to content

Instantly share code, notes, and snippets.

@dude8604
Created July 30, 2018 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dude8604/e9685c4b49b6c90922ad09a69b5e4c34 to your computer and use it in GitHub Desktop.
Save dude8604/e9685c4b49b6c90922ad09a69b5e4c34 to your computer and use it in GitHub Desktop.
Compiling debug version of 'click_switch_5_cycling' for 'Teensy LC'
click_switch_5_cycling.ino:1: In file included from
LinkedList.h: In instantiation of bool LinkedList<T>::add(T) [with T = Action]
click_switch_5_cycling.ino:64: required from here
LinkedList.h: 192:37: error: use of deleted function 'ListNode<Action>::ListNode()
ListNode<T> *tmp = new ListNode<T>()
LinkedList.h:19: note ListNode<Action> ListNode() is implicitly deleted because the default definition would be ill-formed
struct ListNode
LinkedList.h: 19:8: error: no matching function for call to 'Action::Action()
click_switch_5_cycling.ino:54: note candidate Action Action(uint16_t, ActionType)
click_switch_5_cycling.ino:54: note candidate expects 2 arguments, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(const Action&)
uint16_t keyCode
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(Action&&)
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:1: In file included from
LinkedList.h: In instantiation of bool LinkedList<T>::add(int, T) [with T = Action]
click_switch_5_cycling.ino:263: required from here
LinkedList.h: 177:37: error: use of deleted function 'ListNode<Action>::ListNode()
ListNode<T> *tmp = new ListNode<T>()
LinkedList.h: In instantiation of bool LinkedList<T>::unshift(T) [with T = Action]
click_switch_5_cycling.ino:263: required from here
LinkedList.h: 218:37: error: use of deleted function 'ListNode<Action>::ListNode()
ListNode<T> *tmp = new ListNode<T>()
LinkedList.h: In instantiation of T LinkedList<T>::remove(int) [with T = Action]
click_switch_5_cycling.ino:263: required from here
LinkedList.h: 290:12: error: no matching function for call to 'Action::Action()
return T()
click_switch_5_cycling.ino:54: note candidate Action Action(uint16_t, ActionType)
click_switch_5_cycling.ino:54: note candidate expects 2 arguments, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(const Action&)
uint16_t keyCode
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(Action&&)
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:1: In file included from
LinkedList.h: In instantiation of T LinkedList<T>::pop() [with T = Action]
Error compiling project sources
click_switch_5_cycling.ino:263: required from here
Debug build failed for project 'click_switch_5_cycling'
LinkedList.h: 242:12: error: no matching function for call to 'Action::Action()
return T()
click_switch_5_cycling.ino:54: note candidate Action Action(uint16_t, ActionType)
click_switch_5_cycling.ino:54: note candidate expects 2 arguments, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(const Action&)
uint16_t keyCode
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(Action&&)
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:1: In file included from
LinkedList.h: In instantiation of T LinkedList<T>::shift() [with T = Action]
click_switch_5_cycling.ino:263: required from here
LinkedList.h: 268:12: error: no matching function for call to 'Action::Action()
return T()
click_switch_5_cycling.ino:54: note candidate Action Action(uint16_t, ActionType)
click_switch_5_cycling.ino:54: note candidate expects 2 arguments, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(const Action&)
uint16_t keyCode
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(Action&&)
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:1: In file included from
LinkedList.h: In instantiation of T LinkedList<T>::get(int) [with T = Action]
click_switch_5_cycling.ino:263: required from here
LinkedList.h: 316:14: error: no matching function for call to 'Action::Action()
T())
click_switch_5_cycling.ino:54: note candidate Action Action(uint16_t, ActionType)
click_switch_5_cycling.ino:54: note candidate expects 2 arguments, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(const Action&)
uint16_t keyCode
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:49: note candidate constexpr Action Action(Action&&)
click_switch_5_cycling.ino:49: note candidate expects 1 argument, 0 provided
click_switch_5_cycling.ino:1: In file included from
LinkedList.h: In instantiation of ListNode<T>* LinkedList<T>::getNode(int) [with T = ModeAction]
LinkedList.h:178: required from bool LinkedList<T> add(int, T) [with T = ModeAction]
click_switch_5_cycling.ino:263: required from here
LinkedList.h: 160:9: warning: converting 'false' to pointer type 'ListNode<ModeAction>*' [-Wconversion-null]
return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment