ubuntuusers.de

filezilla 3.17.0.1 build error

Autor:
Quidoff
Datum:
9. Mai 2016 17:03
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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<wxString>(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) <near match>
   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<wxString>(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) <near match>
   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<wxString>(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) <near match>
   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<wxString>(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<T>::sparse_optional(const T&) [with T = wxString]'
 sparse_optional<T>::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'