kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #08148
Hating wx configuration more than ever...
Trying to build with wx 2.9.3... it was configured 'full optionals'
Now it seems that there is no more an implicit conversion from const wxString to wxChar*!
Example: in displlst.cpp we have
static int SortItems( const wxString& item1, const wxString& item2 )
{
return StrNumCmp( item1, item2, INT_MAX, true );
}
... and it complains:
common/displlst.cpp|150 col 51| error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' for argument '1' to 'int StrNumCmp(const wxChar*, const wxChar*, int, bool)'
(for both parameters)
Did I miss some magic wx configuration switch?
--
Lorenzo Marcantonio
Logos Srl
Follow ups