[Bug 223757] sysutils/passwordsafe: fix build with wxgtk30 - 3.0.3.1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 20 00:19:47 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223757

            Bug ID: 223757
           Summary: sysutils/passwordsafe: fix build with wxgtk30 -
                    3.0.3.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd at freebsd.org
          Reporter: rozhuk.im at gmail.com
             Flags: maintainer-feedback?(brnrd at freebsd.org)
          Assignee: brnrd at freebsd.org

Created attachment 188129
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188129&action=edit
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());
                                         ^~~~~~~~~~~~~~~~~~~~
...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list