Codice: Seleziona tutto
ControlSocket.cpp: In member function 'virtual int CControlSocket::Disconnect()':
ControlSocket.cpp:84:63: error: no matching function for call to 'CControlSocket::LogMessage(MessageType, const wxString&)'
LogMessage(MessageType::Status, _("Disconnected from server"));
^
ControlSocket.cpp:84:63: note: candidates are:
In file included from ControlSocket.h:5:0,
from ControlSocket.cpp:2:
logging_private.h:13:7: note: template<class ... Args> void CLogging::LogMessage(MessageType, const wxChar*, Args&& ...) const
void LogMessage(MessageType nMessageType, wxChar const* msgFormat, Args&& ...args) const
^
logging_private.h:13:7: note: template argument deduction/substitution failed:
ControlSocket.cpp:84:63: note: cannot convert 'wxGetTranslation((* & wxString(((const char*)("Disconnected from server")))), (*(const wxStr
ing*)(& wxString())))' (type 'const wxString') to type 'const wxChar* {aka const wchar_t*}'
LogMessage(MessageType::Status, _("Disconnected from server"));
[...]
logging_private.h:30:7: note: template argument deduction/substitution failed:
ControlSocket.cpp:1348:74: note: cannot convert 'Status' (type 'MessageType') to type 'wxString'
LogMessage(MessageType::Status, _("Skipping download of %s"), filename);
^
ControlSocket.cpp:1352:80: error: no matching function for call to 'CControlSocket::LogMessage(MessageType, const wxString&, wxString&)'
LogMessage(MessageType::Status, _("Skipping upload of %s"), pData->localFile);
^
ControlSocket.cpp:1352:80: note: candidates are:
In file included from ControlSocket.h:5:0,
from ControlSocket.cpp:2:
logging_private.h:13:7: note: template<class ... Args> void CLogging::LogMessage(MessageType, const wxChar*, Args&& ...) const
void LogMessage(MessageType nMessageType, wxChar const* msgFormat, Args&& ...args) const
^
logging_private.h:13:7: note: template argument deduction/substitution failed:
ControlSocket.cpp:1352:80: note: cannot convert 'wxGetTranslation((* & wxString(((const char*)("Skipping upload of %s")))), (*(const wxStri
ng*)(& wxString())))' (type 'const wxString') to type 'const wxChar* {aka const wchar_t*}'
LogMessage(MessageType::Status, _("Skipping upload of %s"), pData->localFile);
^
In file included from ControlSocket.h:5:0,
from ControlSocket.cpp:2:
logging_private.h:30:7: note: template<class ... Args> void CLogging::LogMessage(wxString, int, void*, MessageType, const wxChar*, Args&& ...
) const
void LogMessage(wxString sourceFile, int nSourceLine, void *pInstance, MessageType nMessageType
^
logging_private.h:30:7: note: template argument deduction/substitution failed:
ControlSocket.cpp:1352:80: note: cannot convert 'Status' (type 'MessageType') to type 'wxString'
LogMessage(MessageType::Status, _("Skipping upload of %s"), pData->localFile);
^
make[3]: *** [libengine_a-ControlSocket.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1