Advertisement
dominus

Untitled

Dec 17th, 2019
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. VideoOptions_gump.cc:140:15: error: invalid operands to binary expression ('Gump_button *' and 'value_type'
  2. (aka 'std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button> >'))
  3. else if (btn == buttons[id_high_dpi])
  4. ~~~ ^ ~~~~~~~~~~~~~~~~~~~~
  5. VideoOptions_gump.cc:365:23: error: no viable overloaded '='
  6. buttons[id_high_dpi] = new VideoTextToggle(this, hdpi_text, colx[2], rowy[2], 74,
  7. ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2553:29: note:
  9. candidate function (the implicit copy assignment operator) not viable: no known conversion from
  10. 'VideoTextToggle *' to
  11. 'const std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button> >' for 1st argument
  12. class _LIBCPP_TYPE_VIS_ONLY unique_ptr
  13. ^
  14. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2638:47: note:
  15. candidate function not viable: no known conversion from 'VideoTextToggle *' to
  16. 'std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button> >' for 1st argument
  17. _LIBCPP_INLINE_VISIBILITY unique_ptr& operator=(unique_ptr&& __u) _NOEXCEPT
  18. ^
  19. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2694:43: note:
  20. candidate function not viable: no known conversion from 'VideoTextToggle *' to 'nullptr_t' for 1st
  21. argument
  22. _LIBCPP_INLINE_VISIBILITY unique_ptr& operator=(nullptr_t) _NOEXCEPT
  23. ^
  24. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2654:13: note:
  25. candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>'
  26. against 'VideoTextToggle *'
  27. operator=(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
  28. ^
  29. 2 errors generated.
  30. make[2]: *** [VideoOptions_gump.lo] Error 1
  31. make[2]: *** Waiting for unfinished jobs....
  32. make[1]: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement