Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VideoOptions_gump.cc:140:15: error: invalid operands to binary expression ('Gump_button *' and 'value_type'
- (aka 'std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button> >'))
- else if (btn == buttons[id_high_dpi])
- ~~~ ^ ~~~~~~~~~~~~~~~~~~~~
- VideoOptions_gump.cc:365:23: error: no viable overloaded '='
- buttons[id_high_dpi] = new VideoTextToggle(this, hdpi_text, colx[2], rowy[2], 74,
- ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2553:29: note:
- candidate function (the implicit copy assignment operator) not viable: no known conversion from
- 'VideoTextToggle *' to
- 'const std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button> >' for 1st argument
- class _LIBCPP_TYPE_VIS_ONLY unique_ptr
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2638:47: note:
- candidate function not viable: no known conversion from 'VideoTextToggle *' to
- 'std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button> >' for 1st argument
- _LIBCPP_INLINE_VISIBILITY unique_ptr& operator=(unique_ptr&& __u) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2694:43: note:
- candidate function not viable: no known conversion from 'VideoTextToggle *' to 'nullptr_t' for 1st
- argument
- _LIBCPP_INLINE_VISIBILITY unique_ptr& operator=(nullptr_t) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2654:13: note:
- candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>'
- against 'VideoTextToggle *'
- operator=(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
- ^
- 2 errors generated.
- make[2]: *** [VideoOptions_gump.lo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement