Opened 6 months ago
Last modified 5 months ago
#13099 new Bug report
3.67.0 fails to build on Windows
Reported by: | lazka | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | ||
Component version: | Operating system type: | Windows | |
Operating system version: |
Description
With GCC:
../../../FileZilla-3.67.0/src/interface/verifyhostkeydialog.cpp: In static member function 'static void CVerifyHostkeyDialog::ShowVerificationDialog(wxWindow*, CHostKeyNotification&)': ../../../FileZilla-3.67.0/src/interface/verifyhostkeydialog.cpp:63:88: error: operands to '?:' have different types 'const wxString' and 'std::wstring' {aka 'std::__cxx11::basic_string<wchar_t>'} 63 | inner->Add(new wxStaticText(box, nullID, notification.hostKeyAlgorithm.empty() ? _("Unknown") : LabelEscape(notification.hostKeyAlgorithm))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../FileZilla-3.67.0/src/interface/verifyhostkeydialog.cpp:63:88: note: and each type can be converted to the other
With Clang:
../../../FileZilla-3.67.0/src/interface/verifyhostkeydialog.cpp:63:81: error: conditional expression is ambiguous; 'const wxString' can be converted to 'std::wstring' (aka 'basic_string<wchar_t>') and vice versa 63 | inner->Add(new wxStaticText(box, nullID, notification.hostKeyAlgorithm.empty() ? _("Unknown") : LabelEscape(notification.hostKeyAlgorithm))); | ^ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note:
See TracTickets
for help on using tickets.
This seems to make it build:
src/interface/sftp_crypt_info_dlg.cpp
_("Unknown") : LabelEscape(pNotification->hostKeyAlgorithm)));src/interface/verifyhostkeydialog.cpp
_("Unknown") : LabelEscape(notification.hostKeyAlgorithm)));