You are not logged in.
Hi
I'm trying to cross-compile FileZilla with mingw-w64.
However, I'm gettings errors like:
../../../src/engine/file.cpp:42:129: error: cannot convert 'const wxString' to 'LPCWSTR {aka const wchar_t*}'
for argument '1' to 'void* CreateFileW(LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE)'
hFile_ = CreateFile(f, (m == read) ? GENERIC_READ : GENERIC_WRITE, shareMode, 0, dispositionFlags, FILE_FLAG_SEQUENTIAL_SCAN, 0);
Obviously it can not convert the wxString instance to a wchar_t*.
EDIT: The problem is solved. After asking the devs on the IRC channel for help, they fixed the problem. The cause of the problem was the wx configuration (std was enabled).
Last edited by The Infinity (2016-01-04 00:17:26)
Offline