Hi JS,
On Dec 15, 2007 7:36 AM, strana <[EMAIL PROTECTED]> wrote: > > > zippy1981 wrote: > > > > Can you provide those compile errors. Also what compiler? Embedded VC++ > > 4.0? > I assume I could get rid of some other errors (those reported in header > files) by typedefs again, but there's probably a reason why they are not in > Win Mobile headers and I wonder if it will work correctly when I finally > compile it... > http://www.nabble.com/file/p14350401/errors.txt errors.txt Ok this will take some work but I think its possible to do this elegantly enough with some #ifdef's with some effort. Let me help you with some of the low hanging fruit. Error 1 error C3861: 'stricmp': identifier not found c:\strana\circletech\xerces\src\xercesc\util\XMLString.cpp 235 Error 2 error C3861: 'strnicmp': identifier not found c:\strana\circletech\xerces\src\xercesc\util\XMLString.cpp 258 Error 3 error C3861: 'strnicmp': identifier not found c:\strana\circletech\xerces\src\xercesc\util\XMLString.cpp 530 It seems that what you need here is the following: #ifdef _WIN32_WCE # define stricmp _stricmp # define strnicmp _strnicmp #elseif !HAVE_STRICMP # include <lib/stricmp.h> #endif #if !HAVE_STRNICMP # include <lib/strnicmp.h> #endif Now lets move onto Error 69 error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 704 Error 70 error C2065: 'mov' : undeclared identifier c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 706 Error 71 error C2146: syntax error : missing ';' before identifier 'eax' c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 706 Error 72 error C2065: 'eax' : undeclared identifier c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 706 Error 73 error C2146: syntax error : missing ';' before identifier 'ebx' c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 707 Error 74 error C2065: 'ebx' : undeclared identifier c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 707 Error 75 error C2146: syntax error : missing ';' before identifier 'ecx' c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 708 Error 76 error C2065: 'ecx' : undeclared identifier c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 708 Error 77 error C2146: syntax error : missing ';' before identifier 'lock' c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 709 Error 78 error C2065: 'lock' : undeclared identifier c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 709 Error 79 error C2146: syntax error : missing ';' before identifier 'cmpxchg' c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 709 Error 80 error C2065: 'cmpxchg' : undeclared identifier c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp 709 Error 81 error C2146: syntax error : missing ';' before identifier 'result' c:\strana\circletech\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp Since you are not on x86 inline assembly won't work. one line will fix this: -#if (defined(_MSC_VER) || defined(__BCPLUSPLUS__)) && !defined(XERCES_NO_ASM) +#if (defined(_MSC_VER) || defined(__BCPLUSPLUS__)) && !defined(_WIN32_WCE) && !defined(XERCES_NO_ASM) Now the rest of the header issues are probably related to a #define you must undefine in the project. However, this should fix a chunk of your errors. Can you give that a try and send the output again? Regards, Justin Dearing --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
