I am trying to build version 3.55.1 for openSUSE using OBS, but building fails with:
Code: Select all
[ 433s] /usr/bin/g++ -std=c++17 -DHAVE_CONFIG_H -I../../config -I/usr/include/p11-kit-1 -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -c -o filezilla-welcome_dialog.o `test -f 'welcome_dialog.cpp' || echo './'`welcome_dialog.cpp
[ 433s] welcome_dialog.cpp: In member function 'bool CWelcomeDialog::Run(wxWindow*, bool)':
[ 433s] welcome_dialog.cpp:122:26: error: operands to '?:' have different types 'wxString' and 'const std::__cxx11::basic_string<wchar_t>'
[ 433s] 122 | InitFooter(force ? wxString() : resources);
[ 433s] | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[ 433s] welcome_dialog.cpp:122:26: note: and each type can be converted to the other
[ 433s] make[4]: *** [Makefile:2898: filezilla-welcome_dialog.o] Error 1
[ 433s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/filezilla-3.55.1/src/interface'
[ 433s] make[4]: *** Waiting for unfinished jobs....
Building this project succedded with versions < 3.55.