Created attachment 188129 [details] build fix ... clang++ -c -o GCCUnicodeRelease/passwordsubset.o -O2 -pipe -fstack-protector -fno-strict-aliasing --stdlib=libc++ -I/usr/local/include `/usr/local/bin/wxgtk2u-3.0-config --debug=no --unicode=yes --inplace --cxxflags` -DUNICODE -DNDEBUG -I../.. -fPIC -O -Wall -DUSE_XML_LIBRARY=XERCES -DWCHAR_INCOMPATIBLE_XMLCH -DNO_YUBI -std=c++11 passwordsubset.cpp passwordsubset.cpp:243:27: error: no matching constructor for initialization of 'std::wistringstream' (aka 'basic_istringstream<wchar_t>') std::wistringstream is(pos_str.wc_str()); ^ ~~~~~~~~~~~~~~~~ /usr/include/c++/v1/iosfwd:120:33: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const wxScopedWCharBuffer' (aka 'const wxScopedCharTypeBuffer<wchar_t>') to 'const std::__1::basic_istringstream<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >' for 1st argument class _LIBCPP_TYPE_VIS_ONLY basic_istringstream; ^ /usr/include/c++/v1/sstream:639:14: note: candidate constructor not viable: no known conversion from 'const wxScopedWCharBuffer' (aka 'const wxScopedCharTypeBuffer<wchar_t>') to 'ios_base::openmode' (aka 'unsigned int') for 1st argument explicit basic_istringstream(ios_base::openmode __wch = ios_base::in); ^ /usr/include/c++/v1/sstream:640:14: note: candidate constructor not viable: no known conversion from 'const wxScopedWCharBuffer' (aka 'const wxScopedCharTypeBuffer<wchar_t>') to 'const string_type' (aka 'const basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >') for 1st argument explicit basic_istringstream(const string_type& __s, ^ /usr/include/c++/v1/sstream:643:5: note: candidate constructor not viable: no known conversion from 'const wxScopedWCharBuffer' (aka 'const wxScopedCharTypeBuffer<wchar_t>') to 'std::__1::basic_istringstream<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >' for 1st argument basic_istringstream(basic_istringstream&& __rhs); ^ passwordsubset.cpp:283:42: error: no viable conversion from 'const wxScopedWCharBuffer' (aka 'const wxScopedCharTypeBuffer<wchar_t>') to 'const StringX' (aka 'const basic_string<wchar_t, std::char_traits<wchar_t>, S_Alloc::SecureAlloc<wchar_t> >') PWSclipboard::GetInstance()->SetData(reduced_str.wc_str()); ^~~~~~~~~~~~~~~~~~~~ ...
A commit references this bug: Author: brnrd Date: Mon Nov 20 10:40:58 UTC 2017 New revision: 454537 URL: https://svnweb.freebsd.org/changeset/ports/454537 Log: sysutils/passwordsafe: Fix build with wx 3.0.3.1 PR: 223757 Submitted by: rozhuk im gmail.com Changes: head/sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp
Committed, THANKS!