Thu Oct 06 20:32:27 2016: Request 118284 was acted upon. Transaction: Ticket created by stefan.bru...@rwth-aachen.de Queue: Wx Subject: Perl-Wx can not be built with STL variants of wxWidgets Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: stefan.bru...@rwth-aachen.de Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=118284 >
Hi Trying to build perl-Wx against wxWidgets 3.0.2 STL fails as the wxUSE_STL build disables several implicit conversions from wxString to wxChar. http://docs.wxwidgets.org/trunk/classwx_string.html : ---- Note - If you built wxWidgets with wxUSE_STL set to 1, the implicit conversions to both narrow and wide C strings are disabled and replaced with implicit conversions to std::string and std::wstring. ---- E.g.: In file included from DocView.c:24:0: cpp/docview.h:483:46: error: no matching function for call to 'wxClassInfo::wxClassInfo(const wxString&, wxClassInfo*, NULL, long unsigned int, wxObject* (*)())' ... /usr/include/wx-3.0/wx/rtti.h:46:5: note: candidate: wxClassInfo::wxClassInfo(const wxChar*, const wxClassInfo*, const wxClassInfo*, int, wxObjectConstructorFn) Best would be to fix perl-Wx, but at least a statement on the homepage would be nice about which wxWidget configurations are supported/working. Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424