Date: Wed, 1 Aug 2018 13:25:49 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476178 - head/sysutils/abgx360gui/files Message-ID: <201808011325.w71DPnHj057209@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Wed Aug 1 13:25:48 2018 New Revision: 476178 URL: https://svnweb.freebsd.org/changeset/ports/476178 Log: sysutils/abgx360gui: Fix build with Clang 6 src/abgx360gui.cpp:2459:66: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] str = wxT("Your StealthFiles folder is located here:"NEWLINE); ^ beefy12.nyi.freebsd.org/data/head-amd64-default/p475964_s336959/logs/errors/abgx360gui-1.0.2_7.log Added: head/sysutils/abgx360gui/files/ head/sysutils/abgx360gui/files/patch-src_abgx360gui.cpp (contents, props changed) Added: head/sysutils/abgx360gui/files/patch-src_abgx360gui.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/abgx360gui/files/patch-src_abgx360gui.cpp Wed Aug 1 13:25:48 2018 (r476178) @@ -0,0 +1,51 @@ +src/abgx360gui.cpp:2459:66: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] + str = wxT("Your StealthFiles folder is located here:"NEWLINE); + ^ + +--- src/abgx360gui.cpp.orig 2018-08-01 13:21:47 UTC ++++ src/abgx360gui.cpp +@@ -1007,7 +1007,7 @@ void abgx360gui::OnClose(wxCloseEvent& WXUNUSED(event) + void abgx360gui::MnuSaveSettingsClick(wxCommandEvent& WXUNUSED(event)) + { + wxString name = wxT("/Settings/"); +- name += wxGetTextFromUser(wxT("Enter a name for these settings. Saving them as \"Default\" will"NEWLINE"cause them to be loaded every time abgx360 GUI is launched."), wxT("Save Settings"), wxT("Default")); ++ name += wxGetTextFromUser(wxT("Enter a name for these settings. Saving them as \"Default\" will" NEWLINE "cause them to be loaded every time abgx360 GUI is launched."), wxT("Save Settings"), wxT("Default")); + + if (name.Cmp(wxT("/Settings/")) == 0) return; + +@@ -1908,7 +1908,7 @@ void abgx360gui::OpenButtonClick(wxCommandEvent& WXUNU + //m_fileHistory->AddFileToHistory(openfilename); + count = arrayStringFor_OpenFileDialog.GetCount(); + if (count > 100) { +- wxMessageBox(wxT("You have selected over 100 files!"NEWLINE"This will probably exceed maximum command line length limits so try using directory input instead."), wxT("Doh!"), wxICON_EXCLAMATION); ++ wxMessageBox(wxT("You have selected over 100 files!" NEWLINE "This will probably exceed maximum command line length limits so try using directory input instead."), wxT("Doh!"), wxICON_EXCLAMATION); + return; + } + if (count) { +@@ -2456,7 +2456,7 @@ void abgx360gui::WhereStealthFilesClick(wxCommandEvent + homedir += wxT("\\abgx360\\"); + #else + if (wxGetEnv(wxT("ABGX360_DIR"), &homedir) || wxGetEnv(wxT("HOME"), &homedir)) { +- str = wxT("Your StealthFiles folder is located here:"NEWLINE); ++ str = wxT("Your StealthFiles folder is located here:" NEWLINE); + } + else { + wxMessageBox(wxT("ERROR: Unable to find your StealthFiles folder!"), wxT("Where is my StealthFiles folder?"), wxOK); +@@ -2503,7 +2503,7 @@ void abgx360gui::WhereImagesClick(wxCommandEvent& even + homedir += wxT("\\abgx360\\"); + #else + if (wxGetEnv(wxT("ABGX360_DIR"), &homedir) || wxGetEnv(wxT("HOME"), &homedir)) { +- str = wxT("Your Images folder is located here:"NEWLINE); ++ str = wxT("Your Images folder is located here:" NEWLINE); + } + else { + wxMessageBox(wxT("ERROR: Unable to find your Images folder!"), wxT("Where is my Images folder?"), wxOK); +@@ -2567,7 +2567,7 @@ bool DnDInput::OnDropFiles(wxCoord, wxCoord, const wxA + if (realcount) { + dndeditbox->AppendText(wxT(" ")); + if (realcount >= 100) { +- wxMessageBox(wxT("You have selected over 100 files!"NEWLINE"This will probably exceed maximum command line length limits so try using directory input instead."), wxT("Doh!"), wxICON_EXCLAMATION); ++ wxMessageBox(wxT("You have selected over 100 files!" NEWLINE "This will probably exceed maximum command line length limits so try using directory input instead."), wxT("Doh!"), wxICON_EXCLAMATION); + dndeditbox->Clear(); + return false; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808011325.w71DPnHj057209>