SHARE
TWEET

Untitled

a guest Apr 25th, 2015 309 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. src/main.cpp:6:21: error: no matching constructor for initialization of 'tgui::Picture::Ptr' (aka 'shared_ptr<tgui::Picture>')
  2.         tgui::Picture::Ptr picture(gui);
  3.                            ^       ~~~
  4. /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  5.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  6.                       ^
  7. /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Picture>' for 1st argument
  8.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  9.     ^
  10. /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Picture>' for 1st argument
  11.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  12.     ^
  13. /usr/include/c++/v1/memory:3768:18: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
  14.         explicit shared_ptr(_Yp* __p);
  15.                  ^
  16. /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  17.         shared_ptr(const shared_ptr<_Yp>& __r,
  18.         ^
  19. /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  20.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  21.                         ^
  22. /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  23.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  24.                                  ^
  25. /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  26.         shared_ptr(auto_ptr<_Yp>&& __r);
  27.         ^
  28. /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  29.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  30.        ^
  31. /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  32.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  33.        ^
  34. /usr/include/c++/v1/memory:3775:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  35.         shared_ptr(_Yp* __p, _Dp __d);
  36.         ^
  37. /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
  38.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
  39.         ^
  40. /usr/include/c++/v1/memory:3783:26: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  41.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  42.                          ^
  43. /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
  44.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
  45.                                        ^
  46. /usr/include/c++/v1/memory:3785:25: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  47.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
  48.                         ^
  49. /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
  50.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  51.                       ^
  52. src/main.cpp:11:19: error: no matching constructor for initialization of 'tgui::Label::Ptr' (aka 'shared_ptr<tgui::Label>')
  53.         tgui::Label::Ptr labelUsername(gui);
  54.                          ^             ~~~
  55. /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  56.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  57.                       ^
  58. /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Label>' for 1st argument
  59.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  60.     ^
  61. /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Label>' for 1st argument
  62.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  63.     ^
  64. /usr/include/c++/v1/memory:3768:18: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
  65.         explicit shared_ptr(_Yp* __p);
  66.                  ^
  67. /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  68.         shared_ptr(const shared_ptr<_Yp>& __r,
  69.         ^
  70. /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  71.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  72.                         ^
  73. /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  74.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  75.                                  ^
  76. /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  77.         shared_ptr(auto_ptr<_Yp>&& __r);
  78.         ^
  79. /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  80.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  81.        ^
  82. /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  83.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  84.        ^
  85. /usr/include/c++/v1/memory:3775:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  86.         shared_ptr(_Yp* __p, _Dp __d);
  87.         ^
  88. /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
  89.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
  90.         ^
  91. /usr/include/c++/v1/memory:3783:26: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  92.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  93.                          ^
  94. /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
  95.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
  96.                                        ^
  97. /usr/include/c++/v1/memory:3785:25: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  98.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
  99.                         ^
  100. /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
  101.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  102.                       ^
  103. src/main.cpp:16:19: error: no matching constructor for initialization of 'tgui::Label::Ptr' (aka 'shared_ptr<tgui::Label>')
  104.         tgui::Label::Ptr labelPassword(gui);
  105.                          ^             ~~~
  106. /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  107.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  108.                       ^
  109. /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Label>' for 1st argument
  110.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  111.     ^
  112. /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Label>' for 1st argument
  113.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  114.     ^
  115. /usr/include/c++/v1/memory:3768:18: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
  116.         explicit shared_ptr(_Yp* __p);
  117.                  ^
  118. /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  119.         shared_ptr(const shared_ptr<_Yp>& __r,
  120.         ^
  121. /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  122.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  123.                         ^
  124. /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  125.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  126.                                  ^
  127. /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  128.         shared_ptr(auto_ptr<_Yp>&& __r);
  129.         ^
  130. /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  131.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  132.        ^
  133. /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  134.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  135.        ^
  136. /usr/include/c++/v1/memory:3775:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  137.         shared_ptr(_Yp* __p, _Dp __d);
  138.         ^
  139. /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
  140.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
  141.         ^
  142. /usr/include/c++/v1/memory:3783:26: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  143.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  144.                          ^
  145. /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
  146.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
  147.                                        ^
  148. /usr/include/c++/v1/memory:3785:25: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  149.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
  150.                         ^
  151. /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
  152.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  153.                       ^
  154. src/main.cpp:21:21: error: no matching constructor for initialization of 'tgui::EditBox::Ptr' (aka 'shared_ptr<tgui::EditBox>')
  155.         tgui::EditBox::Ptr editBoxUsername(gui, "Username");
  156.                            ^               ~~~~~~~~~~~~~~~
  157. /usr/include/c++/v1/memory:3783:26: note: candidate constructor [with _Dp = const char *] not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  158.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  159.                          ^
  160. /usr/include/c++/v1/memory:3775:9: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
  161.         shared_ptr(_Yp* __p, _Dp __d);
  162.         ^
  163. /usr/include/c++/v1/memory:3785:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  164.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
  165.                         ^
  166. /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  167.         shared_ptr(const shared_ptr<_Yp>& __r,
  168.         ^
  169. /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  170.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  171.                         ^
  172. /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  173.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  174.                                  ^
  175. /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  176.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  177.        ^
  178. /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  179.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  180.        ^
  181. /usr/include/c++/v1/memory:3768:18: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided
  182.         explicit shared_ptr(_Yp* __p);
  183.                  ^
  184. /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 2 were provided
  185.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
  186.         ^
  187. /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 2 were provided
  188.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
  189.                                        ^
  190. /usr/include/c++/v1/memory:3806:9: note: candidate constructor template not viable: requires single argument '__r', but 2 arguments were provided
  191.         shared_ptr(auto_ptr<_Yp>&& __r);
  192.         ^
  193. /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
  194.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  195.                       ^
  196. /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: requires 1 argument, but 2 were provided
  197.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  198.                       ^
  199. /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: requires single argument '__r', but 2 arguments were provided
  200.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  201.     ^
  202. /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: requires single argument '__r', but 2 arguments were provided
  203.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  204.     ^
  205. src/main.cpp:27:43: error: no member named 'copy' in 'tgui::Gui'
  206.         tgui::EditBox::Ptr editBoxPassword = gui.copy(editBoxUsername, "Password");
  207.                                              ~~~ ^
  208. src/main.cpp:32:20: error: no matching constructor for initialization of 'tgui::Button::Ptr' (aka 'shared_ptr<tgui::Button>')
  209.         tgui::Button::Ptr button(gui);
  210.                           ^      ~~~
  211. /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  212.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  213.                       ^
  214. /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Button>' for 1st argument
  215.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  216.     ^
  217. /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Button>' for 1st argument
  218.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  219.     ^
  220. /usr/include/c++/v1/memory:3768:18: note: candidate template ignored: could not match '_Yp *' against 'tgui::Gui'
  221.         explicit shared_ptr(_Yp* __p);
  222.                  ^
  223. /usr/include/c++/v1/memory:3788:9: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  224.         shared_ptr(const shared_ptr<_Yp>& __r,
  225.         ^
  226. /usr/include/c++/v1/memory:3793:25: note: candidate template ignored: could not match 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  227.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  228.                         ^
  229. /usr/include/c++/v1/memory:3797:34: note: candidate template ignored: could not match 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  230.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  231.                                  ^
  232. /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  233.         shared_ptr(auto_ptr<_Yp>&& __r);
  234.         ^
  235. /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  236.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  237.        ^
  238. /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  239.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  240.        ^
  241. /usr/include/c++/v1/memory:3775:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  242.         shared_ptr(_Yp* __p, _Dp __d);
  243.         ^
  244. /usr/include/c++/v1/memory:3782:9: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
  245.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a);
  246.         ^
  247. /usr/include/c++/v1/memory:3783:26: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  248.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  249.                          ^
  250. /usr/include/c++/v1/memory:3784:40: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided
  251.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, _Alloc __a);
  252.                                        ^
  253. /usr/include/c++/v1/memory:3785:25: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
  254.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) _NOEXCEPT;
  255.                         ^
  256. /usr/include/c++/v1/memory:3760:23: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
  257.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  258.                       ^
  259. src/main.cpp:37:37: error: no member named 'LeftMouseClicked' in 'tgui::Button'
  260.         button->bindCallback(tgui::Button::LeftMouseClicked);
  261.                              ~~~~~~~~~~~~~~^
  262. src/main.cpp:68:14: error: no member named 'pollCallback' in 'tgui::Gui'
  263.                 while (gui.pollCallback(callback))
  264.                        ~~~ ^
  265. src/main.cpp:74:24: error: no viable conversion from 'shared_ptr<class tgui::Widget>' to 'shared_ptr<class tgui::EditBox>'
  266.                                 tgui::EditBox::Ptr editBoxUsername = gui.get("Username");
  267.                                                    ^                 ~~~~~~~~~~~~~~~~~~~
  268. /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'nullptr_t' for 1st argument
  269.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  270.                       ^
  271. /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'const std::__1::shared_ptr<tgui::EditBox> &' for 1st argument
  272.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  273.     ^
  274. /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'std::__1::shared_ptr<tgui::EditBox> &&' for 1st argument
  275.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  276.     ^
  277. /usr/include/c++/v1/memory:3789:39: note: candidate template ignored: disabled by 'enable_if' [with _Yp = tgui::Widget]
  278.                    typename enable_if<is_convertible<_Yp*, _Tp*>::value, __nat>::type = __nat())
  279.                                       ^
  280. /usr/include/c++/v1/memory:3794:39: note: candidate template ignored: disabled by 'enable_if' [with _Yp = tgui::Widget]
  281.                    typename enable_if<is_convertible<_Yp*, _Tp*>::value, __nat>::type = __nat())
  282.                                       ^
  283. /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr' against 'shared_ptr'
  284.         shared_ptr(auto_ptr<_Yp>&& __r);
  285.         ^
  286. /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
  287.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  288.        ^
  289. /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
  290.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  291.        ^
  292. src/main.cpp:75:24: error: no viable conversion from 'shared_ptr<class tgui::Widget>' to 'shared_ptr<class tgui::EditBox>'
  293.                                 tgui::EditBox::Ptr editBoxPassword = gui.get("Password");
  294.                                                    ^                 ~~~~~~~~~~~~~~~~~~~
  295. /usr/include/c++/v1/memory:3761:23: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'nullptr_t' for 1st argument
  296.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  297.                       ^
  298. /usr/include/c++/v1/memory:3786:5: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'const std::__1::shared_ptr<tgui::EditBox> &' for 1st argument
  299.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  300.     ^
  301. /usr/include/c++/v1/memory:3792:5: note: candidate constructor not viable: no known conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'std::__1::shared_ptr<tgui::EditBox> &&' for 1st argument
  302.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  303.     ^
  304. /usr/include/c++/v1/memory:3789:39: note: candidate template ignored: disabled by 'enable_if' [with _Yp = tgui::Widget]
  305.                    typename enable_if<is_convertible<_Yp*, _Tp*>::value, __nat>::type = __nat())
  306.                                       ^
  307. /usr/include/c++/v1/memory:3794:39: note: candidate template ignored: disabled by 'enable_if' [with _Yp = tgui::Widget]
  308.                    typename enable_if<is_convertible<_Yp*, _Tp*>::value, __nat>::type = __nat())
  309.                                       ^
  310. /usr/include/c++/v1/memory:3806:9: note: candidate template ignored: could not match 'auto_ptr' against 'shared_ptr'
  311.         shared_ptr(auto_ptr<_Yp>&& __r);
  312.         ^
  313. /usr/include/c++/v1/memory:3824:8: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
  314.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  315.        ^
  316. /usr/include/c++/v1/memory:3833:8: note: candidate template ignored: could not match 'unique_ptr' against 'shared_ptr'
  317.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  318.        ^
  319. 10 errors generated.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top