g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/usr/include/p11-kit-1 -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu++14 -c -o libengine_a-serverpath.o `test -f 'serverpath.cpp' || echo './'`serverpath.cpp serverpath.cpp: In member function 'bool CServerPath::DoSetSafePath(const wxString&)': serverpath.cpp:347:80: error: conversion from 'wxString*' to 'const wxString' is ambiguous data.m_prefix = fz::sparse_optional(new wxString(p, p + prefix_len)); ^ In file included from /usr/include/wx-3.0/wx/longlong.h:19:0, from /usr/include/wx-3.0/wx/datetime.h:27, from ../../src/include/libfilezilla_engine.h:27, from ./filezilla.h:1, from serverpath.cpp:1: /usr/include/wx-3.0/wx/string.h:1235:3: note: candidate: wxString::wxString(wchar_t, size_t) wxString(wchar_t ch, size_t nRepeat = 1) ^ /usr/include/wx-3.0/wx/string.h:1235:3: note: conversion of argument 1 would be ill-formed: serverpath.cpp:347:80: error: invalid conversion from 'wxString*' to 'wchar_t' [-fpermissive] data.m_prefix = fz::sparse_optional(new wxString(p, p + prefix_len)); ^ In file included from /usr/include/wx-3.0/wx/longlong.h:19:0, from /usr/include/wx-3.0/wx/datetime.h:27, from ../../src/include/libfilezilla_engine.h:27, from ./filezilla.h:1, from serverpath.cpp:1: /usr/include/wx-3.0/wx/string.h:1231:3: note: candidate: wxString::wxString(char, size_t) wxString(char ch, size_t nRepeat = 1) ^ /usr/include/wx-3.0/wx/string.h:1231:3: note: conversion of argument 1 would be ill-formed: serverpath.cpp:347:80: error: invalid conversion from 'wxString*' to 'char' [-fpermissive] data.m_prefix = fz::sparse_optional(new wxString(p, p + prefix_len)); ^ In file included from /usr/include/wx-3.0/wx/longlong.h:19:0, from /usr/include/wx-3.0/wx/datetime.h:27, from ../../src/include/libfilezilla_engine.h:27, from ./filezilla.h:1, from serverpath.cpp:1: /usr/include/wx-3.0/wx/string.h:419:3: note: candidate: wxString::wxString(int) wxString(int); ^ /usr/include/wx-3.0/wx/string.h:419:3: note: conversion of argument 1 would be ill-formed: serverpath.cpp:347:80: error: invalid conversion from 'wxString*' to 'int' [-fpermissive] data.m_prefix = fz::sparse_optional(new wxString(p, p + prefix_len)); ^ In file included from ../../src/include/serverpath.h:4:0, from ../../src/include/libfilezilla_engine.h:43, from ./filezilla.h:1, from serverpath.cpp:1: /usr/include/libfilezilla/optional.hpp:56:1: note: initializing argument 1 of 'fz::sparse_optional::sparse_optional(const T&) [with T = wxString]' sparse_optional::sparse_optional(T const& v) ^ make[4]: *** [libengine_a-serverpath.o] Error 1 Makefile:896: recipe for target 'libengine_a-serverpath.o' failed make[4]: Leaving directory '/«PKGBUILDDIR»/src/engine'