This is the mail archive of the cygwin-patches@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,

2001-11-13 23:08:54, du schriebst:

> 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

Ahh, I found it, patch is attached.

> The file looks like this:

> /* wchar.h

>    Copyright 1998, 1999, 2000, 2001 Red Hat, Inc.

> This file is part of Cygwin.

> This software is a copyrighted work licensed under the terms of the
> Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
> details. */

> #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
> #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 */


> So what goes wrong here? I don't know.
> Thanks in advance for a hint,

> Gerrit


-- 
convey Information Systems GmbH                   http://www.convey.de/
                                                  Vitalisstraße 326-328
Gerrit P. Haase                                   D-50933 Köln
gerrit.haase@convey.de                            Fon: ++49 221 6903922

Attachment: wchar.h.patch
Description: Binary data


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