Search found 3 matches

by gvanem
2020-07-05 09:28
Forum: General Discussion
Topic: MSVC build broken
Replies: 4
Views: 1298

Re: MSVC build broken

Anyway, I gave up on trying to build using -DFZ_USING_DLL . I managed to get a working FileZilla with MSVC-x86. But clang-cl (my favourite compiler at the moment) have many issues with event-macros like EVT_LIST_COL_CLICK() . A single file needed patching to work for x86. Namely libfilezilla/lib/uti...
by gvanem
2020-07-03 10:33
Forum: General Discussion
Topic: MSVC build broken
Replies: 4
Views: 1298

Re: MSVC build broken

What is the exact error message you are getting? When linking FileZilla.exe with the import-library of libfilezilla-7.dll, I get several errors like these: error LNK2005: "public: __thiscall fz::buffer::buffer(void)" (??0buffer@fz@@QAE@XZ) already defined in FZengine.lib(controlsocket.obj)
by gvanem
2020-07-02 12:40
Forum: General Discussion
Topic: MSVC build broken
Replies: 4
Views: 1298

MSVC build broken

Hello forum. I'm trying to build FileZilla using MSVC-2019 (with .DLLs) and see that many class-functions and data-members have __declspec(dllimport) in the wrong place. E.g. in lib/libfilezilla/string.hpp after pre-processing: native_string __declspec(dllimport) to_native(std::string_view const&...