This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: need help to build xerces


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]