Hi Alberto,

Same error with the non underscore names:

$ 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'
undecl
ared (first use this function)
xercesc/util/Transcoders/Win32/Win32TransService.cpp:145: error: (Each
undeclare
d 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'
undecl
ared (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'
undecl
ared (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'
undec
lared (first use this function)
xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function
`virtua
l int xercesc_3_0::Win32TransService::compareNIString(const XMLCh*, const
XMLCh*
, unsigned int)':
xercesc/util/Transcoders/Win32/Win32TransService.cpp:444: error: `wcsnicmp'
unde
clared (first use this function)
xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function
`virtua
l void xercesc_3_0::Win32TransService::upperCase(XMLCh*) const':
xercesc/util/Transcoders/Win32/Win32TransService.cpp:473: error: `wcsupr'
undecl
ared (first use this function)
xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function
`virtua
l void xercesc_3_0::Win32TransService::lowerCase(XMLCh*) const':
xercesc/util/Transcoders/Win32/Win32TransService.cpp:478: error: `wcslwr'
undecl
ared (first use this function)
xercesc/util/Transcoders/Win32/Win32TransService.cpp: In member function
`virtua
l xercesc_3_0::XMLTranscoder*
xercesc_3_0::Win32TransService::makeNewXMLTranscod
er(const XMLCh*, xercesc_3_0::XMLTransService::Codes&, unsigned int,
xercesc_3_0
::MemoryManager*)':
xercesc/util/Transcoders/Win32/Win32TransService.cpp:514: error: `wcsupr'
undecl
ared (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

does this mean there is something missing from my env?

Thanks again, Simon

On 1/10/07, Alberto Massari <[EMAIL PROTECTED]> wrote:

Hi Simon,
can you try removing the _ from the function names? e.g. change
_wcsupr into wcsupr and so on. If that doesn't work, I have written a
fallback implementation for them to be used under Cygwin.

Alberto

At 20.34 09/01/2007 +0000, Simon Rowland wrote:
>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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to