Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 23 Nov 2001 13:33:35 +0100 From: "Gerrit P. Haase" X-Mailer: The Bat! (v1.53t) Business Reply-To: "Gerrit P. Haase" Organization: don't eat dead animals X-Priority: 3 (Normal) Message-ID: <1195690372.20011123133335@nyckelpiga.de> To: cygwin-patches AT cygwin DOT com CC: cygwin AT cygwin DOT com Subject: Re: need help to build xerces In-Reply-To: <93127483090.20011113225111@familiehaase.de> References: <93127483090 DOT 20011113225111 AT familiehaase DOT de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------AE1BF251FE7BAB0" ------------AE1BF251FE7BAB0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 > /* Get wchar_t and wint_t from . */ > #define __need_wchar_t > #define __need_wint_t > #include > __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 DOT haase AT convey DOT de Fon: ++49 221 6903922 ------------AE1BF251FE7BAB0 Content-Type: application/octet-stream; name="wchar.h.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="wchar.h.patch" LS0tIHdjaGFyLmgub3JpZwlUdWUgTm92IDEzIDIyOjQwOjQzIDIwMDEKKysrIHdjaGFyLmgJVHVl IE5vdiAxMyAyMzowNTo1NSAyMDAxCkBAIC0xNiw2ICsxNiw3IEBACiAvKiBHZXQgd2NoYXJfdCBh bmQgd2ludF90IGZyb20gPHN0ZGRlZi5oPi4gICovCiAjZGVmaW5lIF9fbmVlZF93Y2hhcl90CiAj ZGVmaW5lIF9fbmVlZF93aW50X3QKKyNkZWZpbmUgX19uZWVkX3NpemVfdAogI2luY2x1ZGUgPHN0 ZGRlZi5oPgogCiBfX0JFR0lOX0RFQ0xTCg== ------------AE1BF251FE7BAB0 Content-Type: text/plain; charset=us-ascii -- 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/ ------------AE1BF251FE7BAB0--