db.cpp: In member function 'void DBManager::AnalyzeReturnQuery(SQLMsg*)':
db.cpp:432:112: error: no matching function for call to 'std::auto_ptr<_SQLMsg>: :auto_ptr(std::unique_ptr<_SQLMsg>)'
432 | std::auto_ptr<SQLMsg> statusmsg(DBManager::instance().DirectQuery( "SELECT status FROM account.ftyazilim"));
| ^
In file included from /usr/local/lib/gcc10/include/c++/memory:87,
from ../../libsql/AsyncSQL.h:16,
from db.h:4,
from db.cpp:5:
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:266:7: note: candidate: 'st d::auto_ptr< <template-parameter-1-1> >::auto_ptr(std::auto_ptr_ref<_Tp>) [with _Tp = _SQLMsg]'
266 | auto_ptr(auto_ptr_ref<element_type> __ref) throw()
| ^~~~~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:266:43: note: no known co nversion for argument 1 from 'std::unique_ptr<_SQLMsg>' to 'std::auto_ptr_ref<_S QLMsg>'
266 | auto_ptr(auto_ptr_ref<element_type> __ref) throw()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:127:9: note: candidate: 'te mplate<class _Tp1> std::auto_ptr< <template-parameter-1-1> >::auto_ptr(std::auto _ptr<_Up>&) [with _Tp1 = _Tp1; _Tp = _SQLMsg]'
127 | auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { }
| ^~~~~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:127:9: note: template arg ument deduction/substitution failed:
db.cpp:432:112: note: 'std::unique_ptr<_SQLMsg>' is not derived from 'std::aut o_ptr<_Up>'
432 | std::auto_ptr<SQLMsg> statusmsg(DBManager::instance().DirectQuery( "SELECT status FROM account.ftyazilim"));
| ^
In file included from /usr/local/lib/gcc10/include/c++/memory:87,
from ../../libsql/AsyncSQL.h:16,
from db.h:4,
from db.cpp:5:
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:114:7: note: candidate: 'st d::auto_ptr< <template-parameter-1-1> >::auto_ptr(std::auto_ptr< <template-param eter-1-1> >&) [with _Tp = _SQLMsg]'
114 | auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { }
| ^~~~~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:114:26: note: no known co nversion for argument 1 from 'std::unique_ptr<_SQLMsg>' to 'std::auto_ptr<_SQLMs g>&'
114 | auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { }
| ~~~~~~~~~~^~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:105:7: note: candidate: 'st d::auto_ptr< <template-parameter-1-1> >::auto_ptr(std::auto_ptr< <template-param eter-1-1> >::element_type*) [with _Tp = _SQLMsg; std::auto_ptr< <template-parame ter-1-1> >::element_type = std::auto_ptr<_SQLMsg>::element_type]'
105 | auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { }
| ^~~~~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:105:30: note: no known co nversion for argument 1 from 'std::unique_ptr<_SQLMsg>' to 'std::auto_ptr<_SQLMs g>::element_type*'
105 | auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { }
| ~~~~~~~~~~~~~~^~~~~~~
db.cpp:447:145: error: no matching function for call to 'std::auto_ptr<_SQLMsg>: :auto_ptr(std::unique_ptr<_SQLMsg>)'
447 | std::auto_ptr<SQLMsg> _gm_login(DBManager::instance().DirectQuery ("SELECT mAccount FROM common.gmlist WHERE mAccount='%s'", pinfo->login));
| ^
In file included from /usr/local/lib/gcc10/include/c++/memory:87,
from ../../libsql/AsyncSQL.h:16,
from db.h:4,
from db.cpp:5:
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:266:7: note: candidate: 'st d::auto_ptr< <template-parameter-1-1> >::auto_ptr(std::auto_ptr_ref<_Tp>) [with _Tp = _SQLMsg]'
266 | auto_ptr(auto_ptr_ref<element_type> __ref) throw()
| ^~~~~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:266:43: note: no known co nversion for argument 1 from 'std::unique_ptr<_SQLMsg>' to 'std::auto_ptr_ref<_S QLMsg>'
266 | auto_ptr(auto_ptr_ref<element_type> __ref) throw()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:127:9: not: aday: 'te mplate<sınıf _Tp1> std::auto_ptr< <şablon-parametresi-1-1> >::auto_ptr(std::auto _ptr<_Yukarı>&) [_Tp1 = _Tp1; _Tp = _SQLMsg ile]'
127 | auto_ptr(auto_ptr<_Tp1>& __a) fırlat() : _M_ptr(__a.release()) { }
| ^~~~~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:127:9: not: şablon argümanı çıkarımı/değiştirmesi başarısız oldu:
db.cpp:447:145: not: 'std::unique_ptr<_SQLMsg>' 'std::aut o_ptr<_Up>'dan türetilmemiştir
447 | std::auto_ptr<SQLMsg> _gm_login(DBManager::instance().DirectQuery ("mAccount'u common.gmlist'ten SEÇİN WHERE mAccount='%s'", pinfo->giriş));
| ^
/usr/local/lib/gcc10/include/c++/memory:87'den dahil edilen dosyada,
../../libsql/AsyncSQL.h:16 adresinden,
db.h:4'ten,
db.cpp:5'ten:
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:114:7: not: aday: 'st d::auto_ptr< <şablon-parametresi-1-1> >::auto_ptr(std::auto_ptr< <şablon-parametresi-eter-1-1> >&) [_Tp = _SQLMsg ile]'
114 | auto_ptr(auto_ptr& __a) fırlat() : _M_ptr(__a.release()) { }
| ^~~~~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:114:26: not: 'std::unique_ptr<_SQLMsg>'den 'std::auto_ptr<_SQLMs g>&'ye 1. argüman için bilinen bir dönüşüm yok
114 | auto_ptr(auto_ptr& __a) fırlat() : _M_ptr(__a.release()) { }
| ~~~~~~~~~~^~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:105:7: not: aday: 'st d::auto_ptr< <şablon-parametresi-1-1> >::auto_ptr(std::auto_ptr< <şablon-parametresi eter-1-1> >::element_type*) [_Tp = _SQLMsg ile; std::auto_ptr< <şablon-parametresi ter-1-1> >::element_type = std::auto_ptr<_SQLMsg>::element_type]'
105 | auto_ptr(element_type* __p = 0) fırlat() : _M_ptr(__p) { }
| ^~~~~~~~
/usr/local/lib/gcc10/include/c++/backward/auto_ptr.h:105:30: not: 'std::unique_ptr<_SQLMsg>'den 'std::auto_ptr<_SQLMs g>::element_type*'e 1. argüman için bilinen bir dönüşüm yok
105 | auto_ptr(element_type* __p = 0) fırlat() : _M_ptr(__p) { }
| ~~~~~~~~~~~~~~^~~~~~~
gmake[1]: *** [Makefile:158: .obj/db.o] Hata 1
gmake[1]: '/usr/src/Server/game/src' dizininden çıkılıyor
gmake: *** [Makefile:111: all] Hata 2
root@turkmmo:/usr/src/Sunucu #
[/KOD]