Menu

#541 compile error when compile 2.6-rc1 for F20

common
closed
nobody
None
5
2013-10-26
2013-10-20
No

BurnDlg.cpp: In member function 'void BurnDlg::OnChooseTempDir(wxCommandEvent&)':
BurnDlg.cpp:568:25: error: invalid conversion from 'wchar_t' to 'const wxChar {aka const wchar_t}' [-fpermissive]
if (!path.EndsWith(wxFILE_SEP_PATH))
^
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from BurnDlg.h:14,
from BurnDlg.cpp:11:
/usr/include/wx-2.8/wx/string.h:1126:8: error: initializing argument 1 of 'bool wxString::EndsWith(const wxChar, wxString) const' [-fpermissive]
bool EndsWith(const wxChar suffix, wxString rest = NULL) const;
^
BurnDlg.cpp: In member function 'void BurnDlg::OnChooseOutputDir(wxCommandEvent&)':
BurnDlg.cpp:578:25: error: invalid conversion from 'wchar_t' to 'const wxChar {aka const wchar_t}' [-fpermissive]
if (!path.EndsWith(wxFILE_SEP_PATH))
^
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from BurnDlg.h:14,
from BurnDlg.cpp:11:
/usr/include/wx-2.8/wx/string.h:1126:8: error: initializing argument 1 of 'bool wxString::EndsWith(const wxChar, wxString) const' [-fpermissive]

Discussion

  • Sérgio M. Basto

    I'm using
    wxsvg-1.2.1 and wxWidgets version >= 2.8.7... yes (version 2.8.12) , ffmpeg 2.0.2 ...
    and Fedora 20 with rpmfusion updated.

     
  • NtAlex

    NtAlex - 2013-10-21

    it will be fixed in next release. As workaround you can use BurnDlg.cpp (dvdstyler.cvs.sourceforge.net) from CVS

     
  • Sérgio M. Basto

    yes , it fixes
    thanks ,
    ticket could be closed , seems I don't have permission to close it

     
  • NtAlex

    NtAlex - 2013-10-26
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB