Op maandag 18-02-2008 om 16:01 uur [tijdzone -0600], schreef Pablo Rogina: > /home/pablo/src/wxMSW/bk-deps arm-wince-mingw32ce-g++ -c -o > basedll_appbase.o -D__WXWINCE__ -DWXBUILDING > -I/home/pablo/src/wxMSW/src/tiff/libtiff -I./src/tiff/libtiff > -I./src/jpeg -I./src/png -I./src/zlib -I./src/regex -I./src/expat/lib > -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -Wall -Wundef > -Wno-ctor-dtor-privacy -D_WIN32_WCE=0x300 > -I/home/pablo/src/wxMSW/lib/wx/include/arm-wince-mingw32ce-wince-ansi-release-2.9 > -I./include -mthreads -O2 -fno-strict-aliasing > ./src/common/appbase.cpp > ./include/wx/msw/winundef.h: In function 'BOOL GetCharWidth(HDC__*, > UINT, UINT, int*)': > ./include/wx/msw/winundef.h:141: error: 'GetCharWidthW' was not > declared in this scope > ./include/wx/wxcrt.h: In function 'char* wxGetenv(const char*)': > ./include/wx/wxcrt.h:868: warning: left-hand operand of comma has no effect > ./include/wx/wxcrt.h: In function 'wchar_t* wxGetenv(const wchar_t*)': > ./include/wx/wxcrt.h:869: warning: left-hand operand of comma has no effect > > Any clue what can I be doing wrong? > > Erik, did it worked straight for you?
Hi, I don't really know what's going wrong here...and as I don't have a cegcc environment currently installed I can't test it now (recently my harddisk died). You might want to try the following hack: Open the file include/wx/msw/winundef.h and search for the text: #ifdef GetCharWidth #undef GetCharWidth inline BOOL GetCharWidth(HDC dc, UINT first, UINT last, LPINT buffer) { #ifdef _UNICODE return GetCharWidthW(dc, first, last, buffer); #else return GetCharWidthA(dc, first, last, buffer); #endif } #endif Remove this whole block of text. Don't even know if wxWinCE will compile successfully, but you might want to try it. If I'll have some more spare time, I'll look deeper into it, but don't count on it any time soon. Regards, Erik van Pienbroek ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel