Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 91179
Status: new
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: WAZOOX [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.9922
Fixed in: (no value)



Subject: Wx fails to compile on Slackware 14.1
wxwidgets 2.9.5 installed. Wx ribbon demo compiles and run fine. Compilation fails with this error: /usr/bin/perl5.18.1 /usr/share/perl5/ExtUtils/xsubpp -noprototypes -nolinenumbers -typemap /usr/share/perl5/ExtUtils/typemap -typemap ../../typemap -typemap typemap Ribbon.xs > Ribbon.xsc && mv Ribbon.xsc Ribbon.c g++ -pthread -c -I. -I../.. -I/usr/lib/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mtune=i686 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ Ribbon.c Ribbon.c: In function 'void XS_Wx__RibbonButtonBar_AddButtonLongParams(PerlInterpreter*, CV*)': Ribbon.c:3183:172: erreur: no matching function for call to 'wxRibbonButtonBar::AddButton(int&, wxString&, wxBitmap&, wxBitmap&, wxBitmap&, wxBitmap&, wxRibbonButtonKind, wxString&, Wx_UserDataO*&)' RETVAL = THIS->AddButton(useid, label, *bitmap, *bitmap_small, *bitmap_disabled, *bitmap_small_disabled, (wxRibbonButtonKind)kind, help_string, client_data); ^ Ribbon.c:3183:172: note: candidates are: In file included from Ribbon.c:41:0: /usr/include/wx-2.9/wx/ribbon/buttonbar.h:48:42: note: virtual wxRibbonButtonBarButtonBase* wxRibbonButtonBar::AddButton(int, const wxString&, const wxBitmap&, const wxString&, wxRibbonButtonKind) virtual wxRibbonButtonBarButtonBase* AddButton( ^ /usr/include/wx-2.9/wx/ribbon/buttonbar.h:48:42: note: candidate expects 5 arguments, 9 provided /usr/include/wx-2.9/wx/ribbon/buttonbar.h:76:42: note: virtual wxRibbonButtonBarButtonBase* wxRibbonButtonBar::AddButton(int, const wxString&, const wxBitmap&, const wxBitmap&, const wxBitmap&, const wxBitmap&, wxRibbonButtonKind, const wxString&) virtual wxRibbonButtonBarButtonBase* AddButton( ^ /usr/include/wx-2.9/wx/ribbon/buttonbar.h:76:42: note: candidate expects 8 arguments, 9 provided Ribbon.c: In function 'void XS_Wx__RibbonButtonBar_InsertButtonLongParams(PerlInterpreter*, CV*)': Ribbon.c:3609:185: erreur: no matching function for call to 'wxRibbonButtonBar::InsertButton(size_t&, int&, wxString&, wxBitmap&, wxBitmap&, wxBitmap&, wxBitmap&, wxRibbonButtonKind, wxString&, Wx_UserDataO*&)' RETVAL = THIS->InsertButton( pos, useid, label, *bitmap, *bitmap_small, *bitmap_disabled, *bitmap_small_disabled, (wxRibbonButtonKind)kind, help_string, client_data); ^ Ribbon.c:3609:185: note: candidates are: In file included from Ribbon.c:41:0: /usr/include/wx-2.9/wx/ribbon/buttonbar.h:86:42: note: virtual wxRibbonButtonBarButtonBase* wxRibbonButtonBar::InsertButton(size_t, int, const wxString&, const wxBitmap&, const wxString&, wxRibbonButtonKind) virtual wxRibbonButtonBarButtonBase* InsertButton( ^ /usr/include/wx-2.9/wx/ribbon/buttonbar.h:86:42: note: candidate expects 6 arguments, 10 provided /usr/include/wx-2.9/wx/ribbon/buttonbar.h:115:42: note: virtual wxRibbonButtonBarButtonBase* wxRibbonButtonBar::InsertButton(size_t, int, const wxString&, const wxBitmap&, const wxBitmap&, const wxBitmap&, const wxBitmap&, wxRibbonButtonKind, const wxString&) virtual wxRibbonButtonBarButtonBase* InsertButton( ^ /usr/include/wx-2.9/wx/ribbon/buttonbar.h:115:42: note: candidate expects 9 arguments, 10 provided make[2]: *** [Ribbon.o] Erreur 1