{"action":"opened","issue":{"url":"https://api.github.com/repos/sirjuddington/SLADE/issues/812","repository_url":"https://api.github.com/repos/sirjuddington/SLADE","labels_url":"https://api.github.com/repos/sirjuddington/SLADE/issues/812/labels{/name}","comments_url":"https://api.github.com/repos/sirjuddington/SLADE/issues/812/comments","events_url":"https://api.github.com/repos/sirjuddington/SLADE/issues/812/events","html_url":"https://github.com/sirjuddington/SLADE/issues/812","id":273342965,"number":812,"title":"wxwidgets build issue on Linux","user":{"login":"fluffymormegil","id":113173,"avatar_url":"https://avatars1.githubusercontent.com/u/113173?v=4","gravatar_id":"","url":"https://api.github.com/users/fluffymormegil","html_url":"https://github.com/fluffymormegil","followers_url":"https://api.github.com/users/fluffymormegil/followers","following_url":"https://api.github.com/users/fluffymormegil/following{/other_user}","gists_url":"https://api.github.com/users/fluffymormegil/gists{/gist_id}","starred_url":"https://api.github.com/users/fluffymormegil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluffymormegil/subscriptions","organizations_url":"https://api.github.com/users/fluffymormegil/orgs","repos_url":"https://api.github.com/users/fluffymormegil/repos","events_url":"https://api.github.com/users/fluffymormegil/events{/privacy}","received_events_url":"https://api.github.com/users/fluffymormegil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-13T08:14:48Z","updated_at":"2017-11-13T08:14:48Z","closed_at":null,"author_association":"NONE","body":"**SLADE Version**: git e0281f0a\r\n**Operating System**: Debian GNU/Linux 9 (stretch)\r\n\r\n**Issue Details**:\r\nSLADE fails to build on Debian 9, with the following problem:\r\n\r\n```\r\n[ 47%] Building CXX object src/CMakeFiles/slade.dir/Dialogs/Preferences/EditingPrefsPanel.o\r\n/home/mormegil/src/doom/slade/src/Dialogs/Preferences/EditingPrefsPanel.cpp: In member function ‘wxPanel* EditingPrefsPanel::setupGeneralTab()’:\r\n/home/mormegil/src/doom/slade/src/Dialogs/Preferences/EditingPrefsPanel.cpp:270:70: error: no matching function for call to ‘wxChoice::Set(std::vector<wxString>)’\r\n  choice_entry_mod_->Set(vector<string>{ \"Don't Save\", \"Save\", \"Ask\" });\r\n                                                                      ^\r\nIn file included from /usr/include/wx-3.0/wx/listbox.h:22:0,\r\n                 from /home/mormegil/src/doom/slade/src/common.h:17,\r\n                 from /home/mormegil/src/doom/slade/build/src/cotire/slade_CXX_prefix.cxx:4,\r\n                 from /home/mormegil/src/doom/slade/build/src/cotire/slade_CXX_prefix.hxx:4:\r\n/usr/include/wx-3.0/wx/ctrlsub.h:262:10: note: candidate: void wxItemContainer::Set(const wxArrayString&)\r\n     void Set(const wxArrayString& items)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:262:10: note:   no known conversion for argument 1 from ‘std::vector<wxString>’ to ‘const wxArrayString&’\r\n/usr/include/wx-3.0/wx/ctrlsub.h:264:10: note: candidate: void wxItemContainer::Set(const wxArrayString&, void**)\r\n     void Set(const wxArrayString& items, void **clientData)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:264:10: note:   candidate expects 2 arguments, 1 provided\r\n/usr/include/wx-3.0/wx/ctrlsub.h:266:10: note: candidate: void wxItemContainer::Set(const wxArrayString&, wxClientData**)\r\n     void Set(const wxArrayString& items, wxClientData **clientData)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:266:10: note:   candidate expects 2 arguments, 1 provided\r\n/usr/include/wx-3.0/wx/ctrlsub.h:268:10: note: candidate: void wxItemContainer::Set(unsigned int, const wxString*)\r\n     void Set(unsigned int n, const wxString *items)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:268:10: note:   candidate expects 2 arguments, 1 provided\r\n/usr/include/wx-3.0/wx/ctrlsub.h:270:10: note: candidate: void wxItemContainer::Set(unsigned int, const wxString*, void**)\r\n     void Set(unsigned int n, const wxString *items, void **clientData)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:270:10: note:   candidate expects 3 arguments, 1 provided\r\n/usr/include/wx-3.0/wx/ctrlsub.h:272:10: note: candidate: void wxItemContainer::Set(unsigned int, const wxString*, wxClientData**)\r\n     void Set(unsigned int n, const wxString *items, wxClientData **clientData)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:272:10: note:   candidate expects 3 arguments, 1 provided\r\n/home/mormegil/src/doom/slade/src/Dialogs/Preferences/EditingPrefsPanel.cpp:271:80: error: no matching function for call to ‘wxChoice::Set(std::vector<wxString>)’\r\n hoice_dir_mod_->Set(vector<string>{ \"Ignore Changes\", \"Apply Changes\", \"Ask\"});\r\n                                                                              ^\r\nIn file included from /usr/include/wx-3.0/wx/listbox.h:22:0,\r\n                 from /home/mormegil/src/doom/slade/src/common.h:17,\r\n                 from /home/mormegil/src/doom/slade/build/src/cotire/slade_CXX_prefix.cxx:4,\r\n                 from /home/mormegil/src/doom/slade/build/src/cotire/slade_CXX_prefix.hxx:4:\r\n/usr/include/wx-3.0/wx/ctrlsub.h:262:10: note: candidate: void wxItemContainer::Set(const wxArrayString&)\r\n     void Set(const wxArrayString& items)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:262:10: note:   no known conversion for argument 1 from ‘std::vector<wxString>’ to ‘const wxArrayString&’\r\n/usr/include/wx-3.0/wx/ctrlsub.h:264:10: note: candidate: void wxItemContainer::Set(const wxArrayString&, void**)\r\n     void Set(const wxArrayString& items, void **clientData)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:264:10: note:   candidate expects 2 arguments, 1 provided\r\n/usr/include/wx-3.0/wx/ctrlsub.h:266:10: note: candidate: void wxItemContainer::Set(const wxArrayString&, wxClientData**)\r\n     void Set(const wxArrayString& items, wxClientData **clientData)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:266:10: note:   candidate expects 2 arguments, 1 provided\r\n/usr/include/wx-3.0/wx/ctrlsub.h:268:10: note: candidate: void wxItemContainer::Set(unsigned int, const wxString*)\r\n     void Set(unsigned int n, const wxString *items)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:268:10: note:   candidate expects 2 arguments, 1 provided\r\n/usr/include/wx-3.0/wx/ctrlsub.h:270:10: note: candidate: void wxItemContainer::Set(unsigned int, const wxString*, void**)\r\n     void Set(unsigned int n, const wxString *items, void **clientData)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:270:10: note:   candidate expects 3 arguments, 1 provided\r\n/usr/include/wx-3.0/wx/ctrlsub.h:272:10: note: candidate: void wxItemContainer::Set(unsigned int, const wxString*, wxClientData**)\r\n     void Set(unsigned int n, const wxString *items, wxClientData **clientData)\r\n          ^~~\r\n/usr/include/wx-3.0/wx/ctrlsub.h:272:10: note:   candidate expects 3 arguments, 1 provided\r\nsrc/CMakeFiles/slade.dir/build.make:1302: recipe for target 'src/CMakeFiles/slade.dir/Dialogs/Preferences/EditingPrefsPanel.o' failed\r\nmake[2]: *** [src/CMakeFiles/slade.dir/Dialogs/Preferences/EditingPrefsPanel.o] Error 1\r\nCMakeFiles/Makefile2:188: recipe for target 'src/CMakeFiles/slade.dir/all' failed\r\nmake[1]: *** [src/CMakeFiles/slade.dir/all] Error 2\r\nMakefile:117: recipe for target 'all' failed\r\n```"}}
{"actor":{"display_login":"fluffymormegil"}}