Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from src/main.cpp:1:
- In file included from lib/src/main.h:1:
- In file included from lib/bin/TGUI/TGUI.hpp:36:
- In file included from lib/bin/TGUI/Checkbox.hpp:30:
- lib/bin/TGUI/RadioButton.hpp:140:30: warning: 'getFullSize' overrides a member
- function but is not marked 'override' [-Winconsistent-missing-override]
- virtual sf::Vector2f getFullSize() const;
- ^
- lib/bin/TGUI/Transformable.hpp:236:30: note: overridden virtual function is here
- virtual sf::Vector2f getFullSize() const
- ^
- In file included from src/main.cpp:1:
- In file included from lib/src/main.h:1:
- In file included from lib/bin/TGUI/TGUI.hpp:48:
- In file included from lib/bin/TGUI/ChatBox.hpp:31:
- In file included from lib/bin/TGUI/Panel.hpp:30:
- lib/bin/TGUI/Container.hpp:406:42: warning: 'askTooltip' overrides a member
- function but is not marked 'override' [-Winconsistent-missing-override]
- virtual std::shared_ptr<Tooltip> askTooltip(sf::Vector2f mousePos);
- ^
- lib/bin/TGUI/Widget.hpp:419:42: note: overridden virtual function is here
- virtual std::shared_ptr<Tooltip> askTooltip(sf::Vector2f mousePos);
- ^
- src/main.cpp:6:21: error: no matching constructor for initialization of
- 'tgui::Picture::Ptr' (aka 'shared_ptr<tgui::Picture>')
- tgui::Picture::Ptr picture(gui);
- ^ ~~~
- lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
- conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
- from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Picture>' for 1st
- argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
- from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Picture>' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
- against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p,
- ^
- lib/cxx/memory:3825:9: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3830:25: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3834:34: note: candidate template ignored: could not match
- 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3838:9: note: candidate template ignored: could not match
- 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3847:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3856:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3815:9: note: candidate constructor template not viable: requires
- at least 2 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d,
- ^
- lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
- at least 3 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
- ^
- lib/cxx/memory:3820:26: note: candidate constructor template not viable: requires
- 2 arguments, but 1 was provided
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
- 3 arguments, but 1 was provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
- ^
- lib/cxx/memory:3822:25: note: candidate constructor template not viable: requires
- 2 arguments, but 1 was provided
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
- ^
- lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
- arguments, but 1 was provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:11:19: error: no matching constructor for initialization of
- 'tgui::Label::Ptr' (aka 'shared_ptr<tgui::Label>')
- tgui::Label::Ptr labelUsername(gui);
- ^ ~~~
- lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
- conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
- from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Label>' for 1st
- argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
- from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Label>' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
- against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p,
- ^
- lib/cxx/memory:3825:9: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3830:25: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3834:34: note: candidate template ignored: could not match
- 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3838:9: note: candidate template ignored: could not match
- 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3847:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3856:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3815:9: note: candidate constructor template not viable: requires
- at least 2 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d,
- ^
- lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
- at least 3 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
- ^
- lib/cxx/memory:3820:26: note: candidate constructor template not viable: requires
- 2 arguments, but 1 was provided
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
- 3 arguments, but 1 was provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
- ^
- lib/cxx/memory:3822:25: note: candidate constructor template not viable: requires
- 2 arguments, but 1 was provided
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
- ^
- lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
- arguments, but 1 was provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:16:19: error: no matching constructor for initialization of
- 'tgui::Label::Ptr' (aka 'shared_ptr<tgui::Label>')
- tgui::Label::Ptr labelPassword(gui);
- ^ ~~~
- lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
- conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
- from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Label>' for 1st
- argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
- from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Label>' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
- against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p,
- ^
- lib/cxx/memory:3825:9: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3830:25: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3834:34: note: candidate template ignored: could not match
- 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3838:9: note: candidate template ignored: could not match
- 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3847:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3856:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3815:9: note: candidate constructor template not viable: requires
- at least 2 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d,
- ^
- lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
- at least 3 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
- ^
- lib/cxx/memory:3820:26: note: candidate constructor template not viable: requires
- 2 arguments, but 1 was provided
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
- 3 arguments, but 1 was provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
- ^
- lib/cxx/memory:3822:25: note: candidate constructor template not viable: requires
- 2 arguments, but 1 was provided
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
- ^
- lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
- arguments, but 1 was provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:21:21: error: no matching constructor for initialization of
- 'tgui::EditBox::Ptr' (aka 'shared_ptr<tgui::EditBox>')
- tgui::EditBox::Ptr editBoxUsername(gui, "Username");
- ^ ~~~~~~~~~~~~~~~
- lib/cxx/memory:3820:26: note: candidate constructor [with _Dp = const char *] not
- viable: no known conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
- against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p,
- ^
- lib/cxx/memory:3815:9: note: candidate template ignored: could not match '_Yp *'
- against 'tgui::Gui'
- shared_ptr(_Yp* __p, _Dp __d,
- ^
- lib/cxx/memory:3822:25: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
- ^
- lib/cxx/memory:3825:9: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3830:25: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3834:34: note: candidate template ignored: could not match
- 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3838:9: note: candidate template ignored: could not match
- 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3847:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3856:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
- at least 3 arguments, but 2 were provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
- ^
- lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
- 3 arguments, but 2 were provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
- ^
- lib/cxx/memory:3810:23: note: candidate constructor not viable: requires 1
- argument, but 2 were provided
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- lib/cxx/memory:3823:5: note: candidate constructor not viable: requires single
- argument '__r', but 2 arguments were provided
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3829:5: note: candidate constructor not viable: requires single
- argument '__r', but 2 arguments were provided
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
- arguments, but 2 were provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:27:43: error: no member named 'copy' in 'tgui::Gui'
- tgui::EditBox::Ptr editBoxPassword = gui.copy(editBoxUsername, "Pa...
- ~~~ ^
- src/main.cpp:32:20: error: no matching constructor for initialization of
- 'tgui::Button::Ptr' (aka 'shared_ptr<tgui::Button>')
- tgui::Button::Ptr button(gui);
- ^ ~~~
- lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
- conversion from 'tgui::Gui' to 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- lib/cxx/memory:3823:5: note: candidate constructor not viable: no known conversion
- from 'tgui::Gui' to 'const std::__1::shared_ptr<tgui::Button>' for 1st
- argument
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3829:5: note: candidate constructor not viable: no known conversion
- from 'tgui::Gui' to 'std::__1::shared_ptr<tgui::Button>' for 1st argument
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3812:18: note: candidate template ignored: could not match '_Yp *'
- against 'tgui::Gui'
- explicit shared_ptr(_Yp* __p,
- ^
- lib/cxx/memory:3825:9: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(const shared_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3830:25: note: candidate template ignored: could not match
- 'shared_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> shared_ptr(shared_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3834:34: note: candidate template ignored: could not match
- 'weak_ptr<type-parameter-0-0>' against 'tgui::Gui'
- template<class _Yp> explicit shared_ptr(const weak_ptr<_Yp>& __r,
- ^
- lib/cxx/memory:3838:9: note: candidate template ignored: could not match
- 'auto_ptr<type-parameter-0-0>' against 'tgui::Gui'
- shared_ptr(auto_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3847:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3856:9: note: candidate template ignored: could not match
- 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'tgui::Gui'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3815:9: note: candidate constructor template not viable: requires
- at least 2 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d,
- ^
- lib/cxx/memory:3818:9: note: candidate constructor template not viable: requires
- at least 3 arguments, but 1 was provided
- shared_ptr(_Yp* __p, _Dp __d, _Alloc __a,
- ^
- lib/cxx/memory:3820:26: note: candidate constructor template not viable: requires
- 2 arguments, but 1 was provided
- template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
- ^
- lib/cxx/memory:3821:40: note: candidate constructor template not viable: requires
- 3 arguments, but 1 was provided
- template <class _Dp, class _Alloc> shared_ptr(nullptr_t __p, _Dp __d, ...
- ^
- lib/cxx/memory:3822:25: note: candidate constructor template not viable: requires
- 2 arguments, but 1 was provided
- template<class _Yp> shared_ptr(const shared_ptr<_Yp>& __r, element_typ...
- ^
- lib/cxx/memory:3809:23: note: candidate constructor not viable: requires 0
- arguments, but 1 was provided
- _LIBCPP_CONSTEXPR shared_ptr() _NOEXCEPT;
- ^
- src/main.cpp:37:37: error: no member named 'LeftMouseClicked' in 'tgui::Button'
- button->bindCallback(tgui::Button::LeftMouseClicked);
- ~~~~~~~~~~~~~~^
- src/main.cpp:68:14: error: no member named 'pollCallback' in 'tgui::Gui'
- while (gui.pollCallback(callback))
- ~~~ ^
- src/main.cpp:74:24: error: no viable conversion from 'shared_ptr<tgui::Widget>'
- to 'shared_ptr<tgui::EditBox>'
- ...tgui::EditBox::Ptr editBoxUsername = gui.get("Username");
- ^ ~~~~~~~~~~~~~~~~~~~
- lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
- conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to
- 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- lib/cxx/memory:3823: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
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3829: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
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3826:39: note: candidate template ignored: disabled by 'enable_if'
- [with _Yp = tgui::Widget]
- typename enable_if<is_convertible<_Yp*, _Tp*>::value, _...
- ^
- lib/cxx/memory:3831:39: note: candidate template ignored: disabled by 'enable_if'
- [with _Yp = tgui::Widget]
- typename enable_if<is_convertible<_Yp*, _Tp*>::value, _...
- ^
- lib/cxx/memory:3838:9: note: candidate template ignored: could not match
- 'auto_ptr' against 'shared_ptr'
- shared_ptr(auto_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3847:9: note: candidate template ignored: could not match
- 'unique_ptr' against 'shared_ptr'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3856:9: note: candidate template ignored: could not match
- 'unique_ptr' against 'shared_ptr'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- src/main.cpp:75:24: error: no viable conversion from 'shared_ptr<tgui::Widget>'
- to 'shared_ptr<tgui::EditBox>'
- ...tgui::EditBox::Ptr editBoxPassword = gui.get("Password");
- ^ ~~~~~~~~~~~~~~~~~~~
- lib/cxx/memory:3810:23: note: candidate constructor not viable: no known
- conversion from 'Widget::Ptr' (aka 'shared_ptr<tgui::Widget>') to
- 'nullptr_t' for 1st argument
- _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
- ^
- lib/cxx/memory:3823: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
- shared_ptr(const shared_ptr& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3829: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
- shared_ptr(shared_ptr&& __r) _NOEXCEPT;
- ^
- lib/cxx/memory:3826:39: note: candidate template ignored: disabled by 'enable_if'
- [with _Yp = tgui::Widget]
- typename enable_if<is_convertible<_Yp*, _Tp*>::value, _...
- ^
- lib/cxx/memory:3831:39: note: candidate template ignored: disabled by 'enable_if'
- [with _Yp = tgui::Widget]
- typename enable_if<is_convertible<_Yp*, _Tp*>::value, _...
- ^
- lib/cxx/memory:3838:9: note: candidate template ignored: could not match
- 'auto_ptr' against 'shared_ptr'
- shared_ptr(auto_ptr<_Yp>&& __r,
- ^
- lib/cxx/memory:3847:9: note: candidate template ignored: could not match
- 'unique_ptr' against 'shared_ptr'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- lib/cxx/memory:3856:9: note: candidate template ignored: could not match
- 'unique_ptr' against 'shared_ptr'
- shared_ptr(unique_ptr<_Yp, _Dp>&&,
- ^
- 2 warnings and 10 errors generated.
- make: *** [default] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement