Closed twa022 closed 11 months ago
Archlinux just updated from wxwidgets 3.0.5 to 3.2.0 so tried to update the package and rebuild, but currently fails:
[ 57%] Building CXX object src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/station_drop_target.cpp.o [ 59%] Building CXX object src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/station_editor_dialog.cpp.o /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp: In member function ‘wxBitmap StationDragAndDrop::makeDragImage(const std::string&, const wxColour*, const wxColour*)’: /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:112:73: error: ‘wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)’ is deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants [-Werror=deprecated-declarations] 112 | tmp_dc.SetFont(wxFont(DRAG_FONT_POINT, wxSWISS, wxITALIC, wxBOLD)); | ^ In file included from /usr/include/wx-3.2/wx/font.h:631, from /usr/include/wx-3.2/wx/window.h:23, from /usr/include/wx-3.2/wx/wx.h:38, from /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/editor_app.hpp:21, from /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:29: /usr/include/wx-3.2/wx/gtk/font.h:89:5: note: declared here 89 | wxFont(int size, | ^~~~~~ /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:124:47: error: ‘wxPen::wxPen(const wxColour&, int, int)’ is deprecated: use wxPENSTYLE_XXX constants [-Werror=deprecated-declarations] 124 | dc.SetPen(wxPen(*textcolor, 1, wxSOLID)); | ^ In file included from /usr/include/wx-3.2/wx/pen.h:107, from /usr/include/wx-3.2/wx/generic/statusbr.h:18, from /usr/include/wx-3.2/wx/statusbr.h:244, from /usr/include/wx-3.2/wx/frame.h:19, from /usr/include/wx-3.2/wx/wx.h:42: /usr/include/wx-3.2/wx/gtk/pen.h:51:5: note: declared here 51 | wxPen(const wxColour& col, int width, int style); | ^~~~~ /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:125:49: error: ‘wxBrush::wxBrush(const wxColour&, int)’ is deprecated: use wxBRUSHSTYLE_XXX constants [-Werror=deprecated-declarations] 125 | dc.SetBrush(wxBrush(*background, wxSOLID)); | ^ In file included from /usr/include/wx-3.2/wx/brush.h:77, from /usr/include/wx-3.2/wx/dc.h:24, from /usr/include/wx-3.2/wx/wx.h:51: /usr/include/wx-3.2/wx/gtk/brush.h:41:5: note: declared here 41 | wxBrush(const wxColour& col, int style); | ^~~~~~~ /tmp/radiotray-ng/src/radiotray-ng-0.2.8/src/radiotray-ng/gui/editor/station_drop_target.cpp:134:69: error: ‘wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)’ is deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants [-Werror=deprecated-declarations] 134 | dc.SetFont(wxFont(DRAG_FONT_POINT, wxSWISS, wxITALIC, wxBOLD)); | ^ /usr/include/wx-3.2/wx/gtk/font.h:89:5: note: declared here 89 | wxFont(int size, | ^~~~~~ cc1plus: all warnings being treated as errors make[2]: *** [src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/build.make:188: src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/station_drop_target.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 61%] Building CXX object src/radiotray-ng/gui/appindicator/CMakeFiles/appindicator_gui.dir/appindicator_gui.cpp.o make[1]: *** [CMakeFiles/Makefile2:543: src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 64%] Linking CXX static library libappindicator_gui.a [ 64%] Built target appindicator_gui make: *** [Makefile:156: all] Error 2
Archlinux just updated from wxwidgets 3.0.5 to 3.2.0 so tried to update the package and rebuild, but currently fails: