Hi Alberto, I was under the impression that the Win32 should work with cygwin (as
it does for MinGW), as the old CygwinTransService was using the same registry keys and MultiByteToWideChar API. What error do you get?
In case you want to use a different transcoder (like iconv), you can
disable the Win32 transcoder by running ./configure --disable-transcoder-windows
Thanks for the reply and the info, looks like I ought to be using the Win32 service after all ... I guess I'm doing something dumb, or have something wrong with my env. Error is as follows: $ make make[1]: Entering directory `/cygdrive/c/XercesDec/XercesDec/src' Compiling xercesc/util/Transcoders/Win32/Win32TransService.cpp xercesc/util/Transcoders/Win32/Win32TransService.cpp: In constructor `xercesc_3_0::CPMapEntry::CPMapEntry(const char*, unsigned int, unsigned int)': xercesc/util/Transcoders/Win32/Win32TransService.cpp:145: error: `_wcsupr' undeclared (first use this function) xercesc/util/Transcoders/Win32/Win32TransService.cpp:145: error: (Each undeclared identifier is reported only once for each function it appears in.) xercesc/util/Transcoders/Win32/Win32TransService.cpp: In constructor `xercesc_3_0::CPMapEntry::CPMapEntry(const XMLCh*, unsigned int, unsigned int)': xercesc/util/Transcoders/Win32/Win32TransService.cpp:163: error: `_wcsupr' undeclared (first use this function) xercesc/util/Transcoders/Win32/Win32TransService.cpp: In constructor `xercesc_3_0::Win32TransService::Win32TransService()': xercesc/util/Transcoders/Win32/Win32TransService.cpp:380: error: `_wcsupr' undeclared (first use this function) xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function `virtua l int xercesc_3_0::Win32TransService::compareIString(const XMLCh*, const XMLCh*) ': xercesc/util/Transcoders/Win32/Win32TransService.cpp:436: error: `_wcsicmp' undeclared (first use this function) xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function `virtual int xercesc_3_0::Win32TransService::compareNIString(const XMLCh*, const XMLCh*, unsigned int)': xercesc/util/Transcoders/Win32/Win32TransService.cpp:444: error: `_wcsnicmp' undeclared (first use this function) xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function `virtual void xercesc_3_0::Win32TransService::upperCase(XMLCh*) const': xercesc/util/Transcoders/Win32/Win32TransService.cpp:473: error: `_wcsupr' undeclared (first use this function) xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function `virtual void xercesc_3_0::Win32TransService::lowerCase(XMLCh*) const': xercesc/util/Transcoders/Win32/Win32TransService.cpp:478: error: `_wcslwr' undeclared (first use this function) xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function `virtual xercesc_3_0::XMLTranscoder* xercesc_3_0::Win32TransService::makeNewXMLTranscoder(const XMLCh*, xercesc_3_0::XMLTransService::Codes&, unsigned int, xercesc_3_0::MemoryManager*)': xercesc/util/Transcoders/Win32/Win32TransService.cpp:514: error: `_wcsupr' undeclared (first use this function) make[1]: *** [xercesc/util/Transcoders/Win32/Win32TransService.lo] Error 1 make[1]: Leaving directory `/cygdrive/c/XercesDec/XercesDec/src' make: *** [all-recursive] Error 1 There are no missing include errors form the compiler, could this be something to do with the wrong string.h being included? Thanks again, Simon
