On 02/02/2011 01:22 PM, Dick Hollenbeck wrote: > On 02/02/2011 11:13 AM, Jerry Jacobs wrote: >> My build fails with: >> >> In file included from >> /Users/jerry/Projects/kicad/testing/include/wxBasePcbFrame.h:14, >> from >> /Users/jerry/Projects/kicad/testing/include/pcbstruct.h:43, >> from >> /Users/jerry/Projects/kicad/testing/3d-viewer/3d_viewer.h:24, >> from >> /Users/jerry/Projects/kicad/testing/3d-viewer/3d_aux.cpp:22: >> /Users/jerry/Projects/kicad/testing/include/richio.h: In member function >> ‘std::string OUTPUTFORMATTER::Quoted(const wxString&)’: >> /Users/jerry/Projects/kicad/testing/include/richio.h:508: error: call of >> overloaded ‘Quoted(const char*)’ is ambiguous >> /Users/jerry/Projects/kicad/testing/include/richio.h:503: note: >> candidates are: virtual std::string OUTPUTFORMATTER::Quoted(const >> std::string&) >> /Users/jerry/Projects/kicad/testing/include/richio.h:505: note: >> std::string OUTPUTFORMATTER::Quoted(const wxString&) >> make[2]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.o] Error 1 >> make[1]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/all] Error 2 >> make: *** [all] Error 2 >> >> I saw Dick changed some of this code and now the OS X build is broken >> with wxWidgets 2.9.2 svn > What the hell's wrong with your compiler? What version of gcc is it? > > Dick
Its that 8 bit build of wxWidgets that you are using on OSX, isn't it? Shame on the wx folks for including a constructor in one wxString build mode but not in another for wxString( const char* ). Actually had it been there for both modes, life would have been more understandable using wxWidgets for the last 5 years. I'll fix it. But realize it is actually the fault of the wxWidgets folks IMO. They should have just used a canned string class from the get go. Dick _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

