dominus

Untitled

Dec 17th, 2019
200
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. VideoOptions_gump.cc:140:15: error: invalid operands to binary expression
  2. ('Gump_button *' and 'std::__1::array<std::__1::unique_ptr<Gump_button,
  3. std::__1::default_delete<Gump_button> >, 11>::value_type' (aka
  4. 'std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button>
  5. >'))
  6. else if (btn == buttons[id_high_dpi])
  7. ~~~ ^ ~~~~~~~~~~~~~~~~~~~~
  8. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3008:1: note:
  9. candidate function template not viable: no known conversion from
  10. 'Gump_button *' to 'std::nullptr_t' (aka 'nullptr_t') for 1st argument
  11. operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT
  12. ^
  13. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:391:1: note:
  14. candidate function not viable: no known conversion from 'Gump_button *' to
  15. 'const std::__1::error_code' for 1st argument
  16. operator==(const error_code& __x, const error_code& __y) _NOEXCEPT
  17. ^
  18. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:398:1: note:
  19. candidate function not viable: no known conversion from 'Gump_button *' to
  20. 'const std::__1::error_code' for 1st argument
  21. operator==(const error_code& __x, const error_condition& __y) _NOEXCEPT
  22. ^
  23. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:406:1: note:
  24. candidate function not viable: no known conversion from 'Gump_button *' to
  25. 'const std::__1::error_condition' for 1st argument
  26. operator==(const error_condition& __x, const error_code& __y) _NOEXCEPT
  27. ^
  28. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/system_error:413:1: note:
  29. candidate function not viable: no known conversion from 'Gump_button *' to
  30. 'const std::__1::error_condition' for 1st argument
  31. operator==(const error_condition& __x, const error_condition& __y) _NOEXCEPT
  32. ^
  33. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:580:1: note:
  34. candidate template ignored: could not match 'pair<type-parameter-0-0,
  35. type-parameter-0-1>' against 'Gump_button *'
  36. operator==(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
  37. ^
  38. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:712:1: note:
  39. candidate template ignored: could not match
  40. 'reverse_iterator<type-parameter-0-0>' against 'Gump_button *'
  41. operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_...
  42. ^
  43. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:941:1: note:
  44. candidate template ignored: could not match
  45. 'istream_iterator<type-parameter-0-0, type-parameter-0-1,
  46. type-parameter-0-2, type-parameter-0-3>' against 'Gump_button *'
  47. operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x,
  48. ^
  49. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1045:6: note:
  50. candidate template ignored: could not match
  51. 'istreambuf_iterator<type-parameter-0-0, type-parameter-0-1>' against
  52. 'Gump_button *'
  53. bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a,
  54. ^
  55. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1153:1: note:
  56. candidate template ignored: could not match
  57. 'move_iterator<type-parameter-0-0>' against 'Gump_button *'
  58. operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y)
  59. ^
  60. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1451:5: note:
  61. candidate template ignored: could not match
  62. '__wrap_iter<type-parameter-0-0>' against 'Gump_button *'
  63. operator==(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _...
  64. ^
  65. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/tuple:1122:1: note:
  66. candidate template ignored: could not match 'tuple<type-parameter-0-0...>'
  67. against 'Gump_button *'
  68. operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
  69. ^
  70. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1987:6: note:
  71. candidate template ignored: could not match
  72. 'allocator<type-parameter-0-0>' against 'Gump_button *'
  73. bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT ...
  74. ^
  75. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2964:1: note:
  76. candidate template ignored: could not match
  77. 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against
  78. 'Gump_button *'
  79. operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& ...
  80. ^
  81. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3000:1: note:
  82. candidate template ignored: could not match
  83. 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against
  84. 'Gump_button *'
  85. operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT
  86. ^
  87. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4796:1: note:
  88. candidate template ignored: could not match
  89. 'shared_ptr<type-parameter-0-0>' against 'Gump_button *'
  90. operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT
  91. ^
  92. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4850:1: note:
  93. candidate template ignored: could not match
  94. 'shared_ptr<type-parameter-0-0>' against 'Gump_button *'
  95. operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
  96. ^
  97. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4858:1: note:
  98. candidate template ignored: could not match 'shared_ptr' against
  99. 'unique_ptr'
  100. operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
  101. ^
  102. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2380:1: note:
  103. candidate template ignored: could not match 'function<type-parameter-0-0
  104. (type-parameter-0-1...)>' against 'Gump_button *'
  105. operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT ...
  106. ^
  107. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2385:1: note:
  108. candidate template ignored: could not match 'function' against
  109. 'unique_ptr'
  110. operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT ...
  111. ^
  112. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:614:6: note:
  113. candidate template ignored: could not match
  114. 'basic_string_view<type-parameter-0-0, type-parameter-0-1>' against
  115. 'Gump_button *'
  116. bool operator==(basic_string_view<_CharT, _Traits> __lhs,
  117. ^
  118. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:623:6: note:
  119. candidate template ignored: could not match
  120. 'basic_string_view<type-parameter-0-0, type-parameter-0-1>' against
  121. 'Gump_button *'
  122. bool operator==(basic_string_view<_CharT, _Traits> __lhs,
  123. ^
  124. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string_view:632:6: note:
  125. candidate template ignored: could not match 'basic_string_view' against
  126. 'unique_ptr'
  127. bool operator==(typename common_type<basic_string_view<_CharT, _Traits> ...
  128. ^
  129. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:564:6: note:
  130. candidate template ignored: could not match 'fpos<type-parameter-0-0>'
  131. against 'Gump_button *'
  132. bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
  133. ^
  134. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3835:1: note:
  135. candidate template ignored: could not match
  136. 'basic_string<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2>'
  137. against 'Gump_button *'
  138. operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
  139. ^
  140. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3847:1: note:
  141. candidate template ignored: could not match 'basic_string<char,
  142. std::__1::char_traits<char>, type-parameter-0-0>' against 'Gump_button *'
  143. operator==(const basic_string<char, char_traits<char>, _Allocator>& __lhs,
  144. ^
  145. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3866:1: note:
  146. candidate template ignored: could not match 'basic_string' against
  147. 'unique_ptr'
  148. operator==(const _CharT* __lhs,
  149. ^
  150. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:3879:1: note:
  151. candidate template ignored: could not match
  152. 'basic_string<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2>'
  153. against 'Gump_button *'
  154. operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
  155. ^
  156. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:3361:1: note:
  157. candidate template ignored: could not match 'vector<type-parameter-0-0,
  158. type-parameter-0-1>' against 'Gump_button *'
  159. operator==(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Alloca...
  160. ^
  161. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1029:1: note:
  162. candidate template ignored: could not match 'optional<type-parameter-0-0>'
  163. against 'Gump_button *'
  164. operator==(const optional<_Tp>& __x, const optional<_Up>& __y)
  165. ^
  166. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1122:1: note:
  167. candidate template ignored: could not match 'optional<type-parameter-0-0>'
  168. against 'Gump_button *'
  169. operator==(const optional<_Tp>& __x, nullopt_t) noexcept
  170. ^
  171. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1130:1: note:
  172. candidate template ignored: could not match 'optional' against
  173. 'unique_ptr'
  174. operator==(nullopt_t, const optional<_Tp>& __x) noexcept
  175. ^
  176. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1223:1: note:
  177. candidate template ignored: could not match 'optional<type-parameter-0-0>'
  178. against 'Gump_button *'
  179. operator==(const optional<_Tp>& __x, const _Up& __v)
  180. ^
  181. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/optional:1235:1: note:
  182. candidate template ignored: could not match 'optional' against
  183. 'unique_ptr'
  184. operator==(const _Tp& __v, const optional<_Up>& __x)
  185. ^
  186. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1559:1: note:
  187. candidate template ignored: could not match 'map<type-parameter-0-0,
  188. type-parameter-0-1, type-parameter-0-2, type-parameter-0-3>' against
  189. 'Gump_button *'
  190. operator==(const map<_Key, _Tp, _Compare, _Allocator>& __x,
  191. ^
  192. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:2104:1: note:
  193. candidate template ignored: could not match 'multimap<type-parameter-0-0,
  194. type-parameter-0-1, type-parameter-0-2, type-parameter-0-3>' against
  195. 'Gump_button *'
  196. operator==(const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
  197. ^
  198. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:2881:1: note:
  199. candidate template ignored: could not match 'deque<type-parameter-0-0,
  200. type-parameter-0-1>' against 'Gump_button *'
  201. operator==(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y)
  202. ^
  203. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stack:257:1: note:
  204. candidate template ignored: could not match 'stack<type-parameter-0-0,
  205. type-parameter-0-1>' against 'Gump_button *'
  206. operator==(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y)
  207. ^
  208. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/array:372:1: note:
  209. candidate template ignored: could not match 'array<type-parameter-0-0,
  210. _Size>' against 'Gump_button *'
  211. operator==(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
  212. ^
  213. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2404:1: note:
  214. candidate template ignored: could not match 'list<type-parameter-0-0,
  215. type-parameter-0-1>' against 'Gump_button *'
  216. operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
  217. ^
  218. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_map:1640:1: note:
  219. candidate template ignored: could not match
  220. 'unordered_map<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2,
  221. type-parameter-0-3, type-parameter-0-4>' against 'Gump_button *'
  222. operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
  223. ^
  224. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_map:2264:1: note:
  225. candidate template ignored: could not match
  226. 'unordered_multimap<type-parameter-0-0, type-parameter-0-1,
  227. type-parameter-0-2, type-parameter-0-3, type-parameter-0-4>' against
  228. 'Gump_button *'
  229. operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
  230. ^
  231. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:953:1: note:
  232. candidate template ignored: could not match
  233. 'unordered_set<type-parameter-0-0, type-parameter-0-1, type-parameter-0-2,
  234. type-parameter-0-3>' against 'Gump_button *'
  235. operator==(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
  236. ^
  237. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:1523:1: note:
  238. candidate template ignored: could not match
  239. 'unordered_multiset<type-parameter-0-0, type-parameter-0-1,
  240. type-parameter-0-2, type-parameter-0-3>' against 'Gump_button *'
  241. operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
  242. ^
  243. VideoOptions_gump.cc:365:23: error: no viable overloaded '='
  244. ...buttons[id_high_dpi] = new VideoTextToggle(this, hdpi_text, colx[2], rowy[2], 74,
  245. ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  246. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2401:28: note:
  247. candidate function (the implicit copy assignment operator) not viable: no
  248. known conversion from 'VideoTextToggle *' to 'const
  249. std::__1::unique_ptr<Gump_button, std::__1::default_delete<Gump_button> >'
  250. for 1st argument
  251. class _LIBCPP_TEMPLATE_VIS unique_ptr {
  252. ^
  253. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2517:15: note:
  254. candidate function not viable: no known conversion from
  255. 'VideoTextToggle *' to 'std::__1::unique_ptr<Gump_button,
  256. std::__1::default_delete<Gump_button> >' for 1st argument
  257. unique_ptr& operator=(unique_ptr&& __u) _NOEXCEPT {
  258. ^
  259. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2609:15: note:
  260. candidate function not viable: no known conversion from
  261. 'VideoTextToggle *' to 'std::nullptr_t' (aka 'nullptr_t') for 1st argument
  262. unique_ptr& operator=(nullptr_t) _NOEXCEPT {
  263. ^
  264. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:2528:15: note:
  265. candidate template ignored: could not match
  266. 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against
  267. 'VideoTextToggle *'
  268. unique_ptr& operator=(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
RAW Paste Data