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 'std::__1::array<std::__1::unique_ptr<Gump_button,
- std::__1::default_delete<Gump_button> >, 11>::value_type' (aka
- 'std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button>
- >'))
- else if (btn == buttons[id_high_dpi])
- ~~~ ^ ~~~~~~~~~~~~~~~~~~~~
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3008:1: note:
- candidate function template not viable: no known conversion from
- 'Gump_button *' to 'std::nullptr_t' (aka 'nullptr_t') for 1st argument
- operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:391:1: note:
- candidate function not viable: no known conversion from 'Gump_button *' to
- 'const std::__1::error_code' for 1st argument
- operator==(const error_code& __x, const error_code& __y) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:398:1: note:
- candidate function not viable: no known conversion from 'Gump_button *' to
- 'const std::__1::error_code' for 1st argument
- operator==(const error_code& __x, const error_condition& __y) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:406:1: note:
- candidate function not viable: no known conversion from 'Gump_button *' to
- 'const std::__1::error_condition' for 1st argument
- operator==(const error_condition& __x, const error_code& __y) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:413:1: note:
- candidate function not viable: no known conversion from 'Gump_button *' to
- 'const std::__1::error_condition' for 1st argument
- operator==(const error_condition& __x, const error_condition& __y) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:580:1: note:
- candidate template ignored: could not match 'pair<type-parameter-0-0,
- type-parameter-0-1>' against 'Gump_button *'
- operator==(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:712:1: note:
- candidate template ignored: could not match
- 'reverse_iterator<type-parameter-0-0>' against 'Gump_button *'
- operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:941:1: note:
- candidate template ignored: could not match
- 'istream_iterator<type-parameter-0-0, type-parameter-0-1,
- type-parameter-0-2, type-parameter-0-3>' against 'Gump_button *'
- operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1045:6: note:
- candidate template ignored: could not match
- 'istreambuf_iterator<type-parameter-0-0, type-parameter-0-1>' against
- 'Gump_button *'
- bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1153:1: note:
- candidate template ignored: could not match
- 'move_iterator<type-parameter-0-0>' against 'Gump_button *'
- operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1451:5: note:
- candidate template ignored: could not match
- '__wrap_iter<type-parameter-0-0>' against 'Gump_button *'
- operator==(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:1122:1: note:
- candidate template ignored: could not match 'tuple<type-parameter-0-0...>'
- against 'Gump_button *'
- operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1987:6: note:
- candidate template ignored: could not match
- 'allocator<type-parameter-0-0>' against 'Gump_button *'
- bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT ...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2964:1: note:
- candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against
- 'Gump_button *'
- operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& ...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3000:1: note:
- candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against
- 'Gump_button *'
- operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4796:1: note:
- candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'Gump_button *'
- operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4850:1: note:
- candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'Gump_button *'
- operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4858:1: note:
- candidate template ignored: could not match 'shared_ptr' against
- 'unique_ptr'
- operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2380:1: note:
- candidate template ignored: could not match 'function<type-parameter-0-0
- (type-parameter-0-1...)>' against 'Gump_button *'
- operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT ...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2385:1: note:
- candidate template ignored: could not match 'function' against
- 'unique_ptr'
- operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT ...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:614:6: note:
- candidate template ignored: could not match
- 'basic_string_view<type-parameter-0-0, type-parameter-0-1>' against
- 'Gump_button *'
- bool operator==(basic_string_view<_CharT, _Traits> __lhs,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:623:6: note:
- candidate template ignored: could not match
- 'basic_string_view<type-parameter-0-0, type-parameter-0-1>' against
- 'Gump_button *'
- bool operator==(basic_string_view<_CharT, _Traits> __lhs,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:632:6: note:
- candidate template ignored: could not match 'basic_string_view' against
- 'unique_ptr'
- bool operator==(typename common_type<basic_string_view<_CharT, _Traits> ...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:564:6: note:
- candidate template ignored: could not match 'fpos<type-parameter-0-0>'
- against 'Gump_button *'
- bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3835:1: note:
- candidate template ignored: could not match
- 'basic_string<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2>'
- against 'Gump_button *'
- operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3847:1: note:
- candidate template ignored: could not match 'basic_string<char,
- std::__1::char_traits<char>, type-parameter-0-0>' against 'Gump_button *'
- operator==(const basic_string<char, char_traits<char>, _Allocator>& __lhs,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3866:1: note:
- candidate template ignored: could not match 'basic_string' against
- 'unique_ptr'
- operator==(const _CharT* __lhs,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3879:1: note:
- candidate template ignored: could not match
- 'basic_string<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2>'
- against 'Gump_button *'
- operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:3361:1: note:
- candidate template ignored: could not match 'vector<type-parameter-0-0,
- type-parameter-0-1>' against 'Gump_button *'
- operator==(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Alloca...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1029:1: note:
- candidate template ignored: could not match 'optional<type-parameter-0-0>'
- against 'Gump_button *'
- operator==(const optional<_Tp>& __x, const optional<_Up>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1122:1: note:
- candidate template ignored: could not match 'optional<type-parameter-0-0>'
- against 'Gump_button *'
- operator==(const optional<_Tp>& __x, nullopt_t) noexcept
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1130:1: note:
- candidate template ignored: could not match 'optional' against
- 'unique_ptr'
- operator==(nullopt_t, const optional<_Tp>& __x) noexcept
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1223:1: note:
- candidate template ignored: could not match 'optional<type-parameter-0-0>'
- against 'Gump_button *'
- operator==(const optional<_Tp>& __x, const _Up& __v)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1235:1: note:
- candidate template ignored: could not match 'optional' against
- 'unique_ptr'
- operator==(const _Tp& __v, const optional<_Up>& __x)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1559:1: note:
- candidate template ignored: could not match 'map<type-parameter-0-0,
- type-parameter-0-1, type-parameter-0-2, type-parameter-0-3>' against
- 'Gump_button *'
- operator==(const map<_Key, _Tp, _Compare, _Allocator>& __x,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:2104:1: note:
- candidate template ignored: could not match 'multimap<type-parameter-0-0,
- type-parameter-0-1, type-parameter-0-2, type-parameter-0-3>' against
- 'Gump_button *'
- operator==(const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:2881:1: note:
- candidate template ignored: could not match 'deque<type-parameter-0-0,
- type-parameter-0-1>' against 'Gump_button *'
- operator==(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:257:1: note:
- candidate template ignored: could not match 'stack<type-parameter-0-0,
- type-parameter-0-1>' against 'Gump_button *'
- operator==(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/array:372:1: note:
- candidate template ignored: could not match 'array<type-parameter-0-0,
- _Size>' against 'Gump_button *'
- operator==(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2404:1: note:
- candidate template ignored: could not match 'list<type-parameter-0-0,
- type-parameter-0-1>' against 'Gump_button *'
- operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_map:1640:1: note:
- candidate template ignored: could not match
- 'unordered_map<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2,
- type-parameter-0-3, type-parameter-0-4>' against 'Gump_button *'
- operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_map:2264:1: note:
- candidate template ignored: could not match
- 'unordered_multimap<type-parameter-0-0, type-parameter-0-1,
- type-parameter-0-2, type-parameter-0-3, type-parameter-0-4>' against
- 'Gump_button *'
- operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:953:1: note:
- candidate template ignored: could not match
- 'unordered_set<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2,
- type-parameter-0-3>' against 'Gump_button *'
- operator==(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:1523:1: note:
- candidate template ignored: could not match
- 'unordered_multiset<type-parameter-0-0, type-parameter-0-1,
- type-parameter-0-2, type-parameter-0-3>' against 'Gump_button *'
- operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
- ^
- 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:2401:28: 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_TEMPLATE_VIS unique_ptr {
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2517:15: 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
- unique_ptr& operator=(unique_ptr&& __u) _NOEXCEPT {
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2609:15: note:
- candidate function not viable: no known conversion from
- 'VideoTextToggle *' to 'std::nullptr_t' (aka 'nullptr_t') for 1st argument
- unique_ptr& operator=(nullptr_t) _NOEXCEPT {
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2528:15: note:
- candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against
- 'VideoTextToggle *'
- unique_ptr& operator=(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement