Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 00:19:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223757] sysutils/passwordsafe: fix build with wxgtk30 - 3.0.3.1
Message-ID:  <bug-223757-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223757

            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@freebsd.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(brnrd@freebsd.org)
          Assignee: brnrd@freebsd.org

Created attachment 188129
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188129&action=
=3Dedit
build fix

...
clang++ -c -o GCCUnicodeRelease/passwordsubset.o -O2 -pipe -fstack-protector
-fno-strict-aliasing  --stdlib=3Dlibc++ -I/usr/local/include
`/usr/local/bin/wxgtk2u-3.0-config --debug=3Dno --unicode=3Dyes --inplace
--cxxflags` -DUNICODE -DNDEBUG -I../.. -fPIC  -O -Wall -DUSE_XML_LIBRARY=3D=
XERCES
-DWCHAR_INCOMPATIBLE_XMLCH -DNO_YUBI  -std=3Dc++11 passwordsubset.cpp
passwordsubset.cpp:243:27: error: no matching constructor for initializatio=
n 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 in=
t')
for 1st argument
    explicit basic_istringstream(ios_base::openmode __wch =3D 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());
                                         ^~~~~~~~~~~~~~~~~~~~
...

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223757-13>