SHARE
TWEET

Untitled

a guest Apr 25th, 2015 227 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. In file included from src/main.cpp:1:
  2. In file included from lib/src/main.h:1:
  3. In file included from lib/bin/TGUI/TGUI.hpp:36:
  4. In file included from lib/bin/TGUI/Checkbox.hpp:30:
  5. lib/bin/TGUI/RadioButton.hpp:140:30: warning: 'getFullSize' overrides a member
  6.       function but is not marked 'override' [-Winconsistent-missing-override]
  7.         virtual sf::Vector2f getFullSize() const;
  8.                              ^
  9. lib/bin/TGUI/Transformable.hpp:236:30: note: overridden virtual function is here
  10.         virtual sf::Vector2f getFullSize() const
  11.                              ^
  12. In file included from src/main.cpp:1:
  13. In file included from lib/src/main.h:1:
  14. In file included from lib/bin/TGUI/TGUI.hpp:48:
  15. In file included from lib/bin/TGUI/ChatBox.hpp:31:
  16. In file included from lib/bin/TGUI/Panel.hpp:30:
  17. lib/bin/TGUI/Container.hpp:406:42: warning: 'askTooltip' overrides a member
  18.       function but is not marked 'override' [-Winconsistent-missing-override]
  19.         virtual std::shared_ptr<Tooltip> askTooltip(sf::Vector2f mousePos);
  20.                                          ^
  21. lib/bin/TGUI/Widget.hpp:419:42: note: overridden virtual function is here
  22.         virtual std::shared_ptr<Tooltip> askTooltip(sf::Vector2f mousePos);
  23.                                          ^
  24. src/main.cpp:6:21: error: no matching constructor for initialization of
  25.       'tgui::Picture::Ptr' (aka 'shared_ptr<tgui::Picture>')
  26.         tgui::Picture::Ptr picture(gui);
  27.                            ^       ~~~
  28. lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
  29.       conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  30.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  31.                       ^
  32. lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
  33.       from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Picture>' for 1st
  34.       argument
  35.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  36.     ^
  37. lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
  38.       from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Picture>' for 1st argument
  39.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  40.     ^
  41. lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
  42.       against 'tgui::Gui'
  43.         explicit shared_ptr(_Yp* __p,
  44.                  ^
  45. lib/cxx/memory:3825:9: note: candidate template ignored: could not match
  46.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  47.         shared_ptr(const shared_ptr<_Yp>& __r,
  48.         ^
  49. lib/cxx/memory:3830:25: note: candidate template ignored: could not match
  50.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  51.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  52.                         ^
  53. lib/cxx/memory:3834:34: note: candidate template ignored: could not match
  54.       'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  55.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  56.                                  ^
  57. lib/cxx/memory:3838:9: note: candidate template ignored: could not match
  58.       'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  59.         shared_ptr(auto_ptr<_Yp>&& __r,
  60.         ^
  61. lib/cxx/memory:3847:9: note: candidate template ignored: could not match
  62.       'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  63.         shared_ptr(unique_ptr<_Yp, _Dp>&&,
  64.         ^
  65. lib/cxx/memory:3856:9: note: candidate template ignored: could not match
  66.       'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  67.         shared_ptr(unique_ptr<_Yp, _Dp>&&,
  68.         ^
  69. lib/cxx/memory:3815:9: note: candidate constructor template not viable: requires
  70.       at least 2 arguments, but 1 was provided
  71.         shared_ptr(_Yp* __p, _Dp __d,
  72.         ^
  73. lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
  74.       at least 3 arguments, but 1 was provided
  75.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
  76.         ^
  77. lib/cxx/memory:3820:26: note: candidate constructor template not viable: requires
  78.       2 arguments, but 1 was provided
  79.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  80.                          ^
  81. lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
  82.       3 arguments, but 1 was provided
  83.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
  84.                                        ^
  85. lib/cxx/memory:3822:25: note: candidate constructor template not viable: requires
  86.       2 arguments, but 1 was provided
  87.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
  88.                         ^
  89. lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
  90.       arguments, but 1 was provided
  91.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  92.                       ^
  93. src/main.cpp:11:19: error: no matching constructor for initialization of
  94.       'tgui::Label::Ptr' (aka 'shared_ptr<tgui::Label>')
  95.         tgui::Label::Ptr labelUsername(gui);
  96.                          ^             ~~~
  97. lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
  98.       conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  99.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  100.                       ^
  101. lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
  102.       from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Label>' for 1st
  103.       argument
  104.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  105.     ^
  106. lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
  107.       from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Label>' for 1st argument
  108.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  109.     ^
  110. lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
  111.       against 'tgui::Gui'
  112.         explicit shared_ptr(_Yp* __p,
  113.                  ^
  114. lib/cxx/memory:3825:9: note: candidate template ignored: could not match
  115.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  116.         shared_ptr(const shared_ptr<_Yp>& __r,
  117.         ^
  118. lib/cxx/memory:3830:25: note: candidate template ignored: could not match
  119.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  120.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  121.                         ^
  122. lib/cxx/memory:3834:34: note: candidate template ignored: could not match
  123.       'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  124.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  125.                                  ^
  126. lib/cxx/memory:3838:9: note: candidate template ignored: could not match
  127.       'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  128.         shared_ptr(auto_ptr<_Yp>&& __r,
  129.         ^
  130. lib/cxx/memory:3847:9: note: candidate template ignored: could not match
  131.       'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  132.         shared_ptr(unique_ptr<_Yp, _Dp>&&,
  133.         ^
  134. lib/cxx/memory:3856:9: note: candidate template ignored: could not match
  135.       'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  136.         shared_ptr(unique_ptr<_Yp, _Dp>&&,
  137.         ^
  138. lib/cxx/memory:3815:9: note: candidate constructor template not viable: requires
  139.       at least 2 arguments, but 1 was provided
  140.         shared_ptr(_Yp* __p, _Dp __d,
  141.         ^
  142. lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
  143.       at least 3 arguments, but 1 was provided
  144.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
  145.         ^
  146. lib/cxx/memory:3820:26: note: candidate constructor template not viable: requires
  147.       2 arguments, but 1 was provided
  148.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  149.                          ^
  150. lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
  151.       3 arguments, but 1 was provided
  152.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
  153.                                        ^
  154. lib/cxx/memory:3822:25: note: candidate constructor template not viable: requires
  155.       2 arguments, but 1 was provided
  156.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
  157.                         ^
  158. lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
  159.       arguments, but 1 was provided
  160.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  161.                       ^
  162. src/main.cpp:16:19: error: no matching constructor for initialization of
  163.       'tgui::Label::Ptr' (aka 'shared_ptr<tgui::Label>')
  164.         tgui::Label::Ptr labelPassword(gui);
  165.                          ^             ~~~
  166. lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
  167.       conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  168.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  169.                       ^
  170. lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
  171.       from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Label>' for 1st
  172.       argument
  173.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  174.     ^
  175. lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
  176.       from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Label>' for 1st argument
  177.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  178.     ^
  179. lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
  180.       against 'tgui::Gui'
  181.         explicit shared_ptr(_Yp* __p,
  182.                  ^
  183. lib/cxx/memory:3825:9: note: candidate template ignored: could not match
  184.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  185.         shared_ptr(const shared_ptr<_Yp>& __r,
  186.         ^
  187. lib/cxx/memory:3830:25: note: candidate template ignored: could not match
  188.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  189.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  190.                         ^
  191. lib/cxx/memory:3834:34: note: candidate template ignored: could not match
  192.       'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  193.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  194.                                  ^
  195. lib/cxx/memory:3838:9: note: candidate template ignored: could not match
  196.       'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  197.         shared_ptr(auto_ptr<_Yp>&& __r,
  198.         ^
  199. lib/cxx/memory:3847:9: note: candidate template ignored: could not match
  200.       'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  201.         shared_ptr(unique_ptr<_Yp, _Dp>&&,
  202.         ^
  203. lib/cxx/memory:3856:9: note: candidate template ignored: could not match
  204.       'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  205.         shared_ptr(unique_ptr<_Yp, _Dp>&&,
  206.         ^
  207. lib/cxx/memory:3815:9: note: candidate constructor template not viable: requires
  208.       at least 2 arguments, but 1 was provided
  209.         shared_ptr(_Yp* __p, _Dp __d,
  210.         ^
  211. lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
  212.       at least 3 arguments, but 1 was provided
  213.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
  214.         ^
  215. lib/cxx/memory:3820:26: note: candidate constructor template not viable: requires
  216.       2 arguments, but 1 was provided
  217.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  218.                          ^
  219. lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
  220.       3 arguments, but 1 was provided
  221.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
  222.                                        ^
  223. lib/cxx/memory:3822:25: note: candidate constructor template not viable: requires
  224.       2 arguments, but 1 was provided
  225.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
  226.                         ^
  227. lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
  228.       arguments, but 1 was provided
  229.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  230.                       ^
  231. src/main.cpp:21:21: error: no matching constructor for initialization of
  232.       'tgui::EditBox::Ptr' (aka 'shared_ptr<tgui::EditBox>')
  233.         tgui::EditBox::Ptr editBoxUsername(gui, "Username");
  234.                            ^               ~~~~~~~~~~~~~~~
  235. lib/cxx/memory:3820:26: note: candidate constructor [with _Dp = const char *] not
  236.       viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  237.     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  238.                          ^
  239. lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
  240.       against 'tgui::Gui'
  241.         explicit shared_ptr(_Yp* __p,
  242.                  ^
  243. lib/cxx/memory:3815:9: note: candidate template ignored: could not match '_Yp *'
  244.       against 'tgui::Gui'
  245.         shared_ptr(_Yp* __p, _Dp __d,
  246.         ^
  247. lib/cxx/memory:3822:25: note: candidate template ignored: could not match
  248.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  249.     template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
  250.                         ^
  251. lib/cxx/memory:3825:9: note: candidate template ignored: could not match
  252.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  253.         shared_ptr(const shared_ptr<_Yp>& __r,
  254.         ^
  255. lib/cxx/memory:3830:25: note: candidate template ignored: could not match
  256.       'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  257.     template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  258.                         ^
  259. lib/cxx/memory:3834:34: note: candidate template ignored: could not match
  260.       'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  261.     template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  262.                                  ^
  263. lib/cxx/memory:3838:9: note: candidate template ignored: could not match
  264.       'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  265.         shared_ptr(auto_ptr<_Yp>&& __r,
  266.         ^
  267. lib/cxx/memory:3847:9: note: candidate template ignored: could not match
  268.       'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  269.         shared_ptr(unique_ptr<_Yp, _Dp>&&,
  270.         ^
  271. lib/cxx/memory:3856:9: note: candidate template ignored: could not match
  272.       'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  273.         shared_ptr(unique_ptr<_Yp, _Dp>&&,
  274.         ^
  275. lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
  276.       at least 3 arguments, but 2 were provided
  277.         shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
  278.         ^
  279. lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
  280.       3 arguments, but 2 were provided
  281.     template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
  282.                                        ^
  283. lib/cxx/memory:3810:23: note: candidate constructor not viable: requires 1
  284.       argument, but 2 were provided
  285.     _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  286.                       ^
  287. lib/cxx/memory:3823:5: note: candidate constructor not viable: requires single
  288.       argument '__r', but 2 arguments were provided
  289.     shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  290.     ^
  291. lib/cxx/memory:3829:5: note: candidate constructor not viable: requires single
  292.       argument '__r', but 2 arguments were provided
  293.     shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  294.     ^
  295. lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
  296.       arguments, but 2 were provided
  297.     _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  298.                       ^
  299. src/main.cpp:27:43: error: no member named 'copy' in 'tgui::Gui'
  300.         tgui::EditBox::Ptr editBoxPassword = gui.copy(editBoxUsername, "Pa...
  301.                                             ~~~ ^
  302. src/main.cpp:32:20: error: no matching constructor for initialization of
  303.      'tgui::Button::Ptr' (aka 'shared_ptr<tgui::Button>')
  304.        tgui::Button::Ptr button(gui);
  305.                          ^      ~~~
  306. lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
  307.      conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
  308.    _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  309.                      ^
  310. lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
  311.      from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Button>' for 1st
  312.      argument
  313.    shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  314.    ^
  315. lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
  316.      from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Button>' for 1st argument
  317.    shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  318.    ^
  319. lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
  320.      against 'tgui::Gui'
  321.        explicit shared_ptr(_Yp* __p,
  322.                 ^
  323. lib/cxx/memory:3825:9: note: candidate template ignored: could not match
  324.      'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  325.        shared_ptr(const shared_ptr<_Yp>& __r,
  326.        ^
  327. lib/cxx/memory:3830:25: note: candidate template ignored: could not match
  328.      'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
  329.    template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
  330.                        ^
  331. lib/cxx/memory:3834:34: note: candidate template ignored: could not match
  332.      'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
  333.    template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
  334.                                 ^
  335. lib/cxx/memory:3838:9: note: candidate template ignored: could not match
  336.      'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
  337.        shared_ptr(auto_ptr<_Yp>&& __r,
  338.        ^
  339. lib/cxx/memory:3847:9: note: candidate template ignored: could not match
  340.      'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  341.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  342.        ^
  343. lib/cxx/memory:3856:9: note: candidate template ignored: could not match
  344.      'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
  345.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  346.        ^
  347. lib/cxx/memory:3815:9: note: candidate constructor template not viable: requires
  348.      at least 2 arguments, but 1 was provided
  349.        shared_ptr(_Yp* __p, _Dp __d,
  350.        ^
  351. lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
  352.      at least 3 arguments, but 1 was provided
  353.        shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
  354.        ^
  355. lib/cxx/memory:3820:26: note: candidate constructor template not viable: requires
  356.      2 arguments, but 1 was provided
  357.    template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
  358.                         ^
  359. lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
  360.      3 arguments, but 1 was provided
  361.    template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
  362.                                       ^
  363. lib/cxx/memory:3822:25: note: candidate constructor template not viable: requires
  364.      2 arguments, but 1 was provided
  365.    template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
  366.                        ^
  367. lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
  368.      arguments, but 1 was provided
  369.    _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
  370.                      ^
  371. src/main.cpp:37:37: error: no member named 'LeftMouseClicked' in 'tgui::Button'
  372.        button->bindCallback(tgui::Button::LeftMouseClicked);
  373.                             ~~~~~~~~~~~~~~^
  374. src/main.cpp:68:14: error: no member named 'pollCallback' in 'tgui::Gui'
  375.                while (gui.pollCallback(callback))
  376.                       ~~~ ^
  377. src/main.cpp:74:24: error: no viable conversion from 'shared_ptr<tgui::Widget>'
  378.      to 'shared_ptr<tgui::EditBox>'
  379.  ...tgui::EditBox::Ptr editBoxUsername = gui.get("Username");
  380.                        ^                 ~~~~~~~~~~~~~~~~~~~
  381. lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
  382.      conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to
  383.      'nullptr_t' for 1st argument
  384.    _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  385.                      ^
  386. lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
  387.      from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'const
  388.      std::__1::shared_ptr<tgui::EditBox> &' for 1st argument
  389.    shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  390.    ^
  391. lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
  392.      from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to
  393.      'std::__1::shared_ptr<tgui::EditBox> &&' for 1st argument
  394.    shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  395.    ^
  396. lib/cxx/memory:3826:39: note: candidate template ignored: disabled by 'enable_if'
  397.      [with _Yp = tgui::Widget]
  398.                   typename enable_if<is_convertible<_Yp*, _Tp*>::value, _...
  399.                                      ^
  400. lib/cxx/memory:3831:39: note: candidate template ignored: disabled by 'enable_if'
  401.      [with _Yp = tgui::Widget]
  402.                   typename enable_if<is_convertible<_Yp*, _Tp*>::value, _...
  403.                                      ^
  404. lib/cxx/memory:3838:9: note: candidate template ignored: could not match
  405.      'auto_ptr' against 'shared_ptr'
  406.        shared_ptr(auto_ptr<_Yp>&& __r,
  407.        ^
  408. lib/cxx/memory:3847:9: note: candidate template ignored: could not match
  409.      'unique_ptr' against 'shared_ptr'
  410.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  411.        ^
  412. lib/cxx/memory:3856:9: note: candidate template ignored: could not match
  413.      'unique_ptr' against 'shared_ptr'
  414.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  415.        ^
  416. src/main.cpp:75:24: error: no viable conversion from 'shared_ptr<tgui::Widget>'
  417.      to 'shared_ptr<tgui::EditBox>'
  418.  ...tgui::EditBox::Ptr editBoxPassword = gui.get("Password");
  419.                        ^                 ~~~~~~~~~~~~~~~~~~~
  420. lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
  421.      conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to
  422.      'nullptr_t' for 1st argument
  423.    _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
  424.                      ^
  425. lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
  426.      from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to 'const
  427.      std::__1::shared_ptr<tgui::EditBox> &' for 1st argument
  428.    shared_ptr(const shared_ptr& __r) _NOEXCEPT;
  429.    ^
  430. lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
  431.      from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to
  432.      'std::__1::shared_ptr<tgui::EditBox> &&' for 1st argument
  433.    shared_ptr(shared_ptr&& __r) _NOEXCEPT;
  434.    ^
  435. lib/cxx/memory:3826:39: note: candidate template ignored: disabled by 'enable_if'
  436.      [with _Yp = tgui::Widget]
  437.                   typename enable_if<is_convertible<_Yp*, _Tp*>::value, _...
  438.                                      ^
  439. lib/cxx/memory:3831:39: note: candidate template ignored: disabled by 'enable_if'
  440.      [with _Yp = tgui::Widget]
  441.                   typename enable_if<is_convertible<_Yp*, _Tp*>::value, _...
  442.                                      ^
  443. lib/cxx/memory:3838:9: note: candidate template ignored: could not match
  444.      'auto_ptr' against 'shared_ptr'
  445.        shared_ptr(auto_ptr<_Yp>&& __r,
  446.        ^
  447. lib/cxx/memory:3847:9: note: candidate template ignored: could not match
  448.      'unique_ptr' against 'shared_ptr'
  449.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  450.        ^
  451. lib/cxx/memory:3856:9: note: candidate template ignored: could not match
  452.      'unique_ptr' against 'shared_ptr'
  453.        shared_ptr(unique_ptr<_Yp, _Dp>&&,
  454.        ^
  455. 2 warnings and 10 errors generated.
  456. make: *** [default] Error 1
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