need help to build xerces
Gerrit P. Haase
gp@familiehaase.de
Sun Nov 11 08:26:00 GMT 2001
Hallo Gerrit,
Am 2001-11-13 um 22:51 schriebst du:
> Hallo Cygwinners,
> I get every sourcefile compiled but one.
> The compiler (g++) doesn't want to build it because of this error:
> In file included from IconvTransService.cpp:68:
> /usr/include/wchar.h:24: syntax error before `('
> make[2]: *** [IconvTransService.o] Error 1
I found the problem, size_t isn't defined?
I patched the file and now it compiles:
> #ifndef _WCHAR_H
> #define _WCHAR_H
> #include <sys/cdefs.h>
> /* Get wchar_t and wint_t from <stddef.h>. */
> #define __need_wchar_t
> #define __need_wint_t
#define __need_size_t
> #include <stddef.h>
> __BEGIN_DECLS
> int wcscmp (const wchar_t *__s1, const wchar_t *__s2);
> size_t wcslen (const wchar_t *__s1); <--------- line 24 is here
> __END_DECLS
> #endif /* _WCHAR_H */
But all the tests that are included with xerces fail;(
All are stackdumping. I don't like this package...
Ciao,
Gerrit P. Haase mailto:gp@familiehaase.de
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list