Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arduino: 1.8.19 (Mac OS X), Board: "Proffieboard V2, Serial + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"
- In file included from /Users/chrisandlindsey/Desktop/ProffieOS/styles/fire.h:4,
- from /Users/chrisandlindsey/Desktop/ProffieOS/ProffieOS.ino:485:
- /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h: In instantiation of 'void ChargingStyle<T>::run(BladeBase*) [with T = Rgb<0, 0, 0>]':
- /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:125:8: required from here
- /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:126:14: error: 'Rgb<0, 0, 0> Style<Rgb<0, 0, 0> >::base_' is protected within this context
- 126 | RunStyle(&Style<T>::base_, blade);
- | ^~~~~~~~~~~~~~~~
- /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:118:5: note: declared protected here
- 118 | T base_;
- | ^~~~~
- /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:126:13: error: no matching function for call to 'RunStyle(Rgb<0, 0, 0> Style<Rgb<0, 0, 0> >::*, BladeBase*&)'
- 126 | RunStyle(&Style<T>::base_, blade);
- | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /Users/chrisandlindsey/Desktop/ProffieOS/blades/blade_base.h:20,
- from /Users/chrisandlindsey/Desktop/ProffieOS/ProffieOS.ino:453:
- /Users/chrisandlindsey/Desktop/ProffieOS/styles/blade_style.h:87:13: note: candidate: 'template<class T> bool RunStyle(T*, BladeBase*)'
- 87 | inline bool RunStyle(T* style, BladeBase* blade) {
- | ^~~~~~~~
- /Users/chrisandlindsey/Desktop/ProffieOS/styles/blade_style.h:87:13: note: template argument deduction/substitution failed:
- In file included from /Users/chrisandlindsey/Desktop/ProffieOS/styles/fire.h:4,
- from /Users/chrisandlindsey/Desktop/ProffieOS/ProffieOS.ino:485:
- /Users/chrisandlindsey/Desktop/ProffieOS/styles/style_ptr.h:126:13: note: mismatched types 'T*' and 'Rgb<0, 0, 0> Style<Rgb<0, 0, 0> >::*'
- 126 | RunStyle(&Style<T>::base_, blade);
- | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
- exit status 1
- Error compiling for board Proffieboard V2.
- This report would have more information with
- "Show verbose output during compilation"
- option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement