| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=nbfkMNcZcX5BNB8tHsIp9901i63QPD+oPxu6GKFoPrJiWBxcs8V/S | |
| C/jU9sDsSc25SS0TWV9O6E7W8WjXSoNr7mVY3m59wmmtHTXpiDtH87xwftEP6GJ8 | |
| gRNjR6p8pMLxifJHVcwi9uzll+Y8BrF/wtQQgHym92bWS7bWoXRXGs= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=hnPvU5xkckrgEUd9RXkKN6IYtos=; b=K8zy3iZXxAMenMrNmIl1QbHiauOt | |
| 2Y7TxV3oLP20jAkiYwZ21Q/Zy7VzjsR/mBBmHekIjramNw96IJZiceTcAB4etkAl | |
| 1IcvohXjFpMn31LKrNbYCblFJx8IfN1EBUgayKrJNtBT+wm4NrgdU787eJBVWp6B | |
| UpQ40eQUo9cZG0s= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Spam-SWARE-Status: | No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 |
| Date: | Tue, 23 Apr 2013 14:31:38 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Errors compiling xemacs |
| Message-ID: | <20130423123138.GD26397@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <87ppxlenp8 DOT fsf AT oracle DOT com> <20130423084037 DOT GA29717 AT calimero DOT vinschen DOT de> <87bo95egb5 DOT fsf AT oracle DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <87bo95egb5.fsf@oracle.com> |
| User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Apr 23 11:39, Dr. Volker Zell wrote: > >>>>> Corinna Vinschen writes: > >> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/rpcdce.h:142:88: error: expected ';', ',' or ')' before 'int' > > > The last time you compiled xemacs was with the mingw.org-based w32api > > headers, right? > > Yes > > > The failing line is > > > typedef void __RPC_API RPC_OBJECT_INQ_FN(UUID *ObjectUuid,UUID *TypeUuid,RPC_STATUS *Status); > > > Is there a chance that one of these types or variable names are already > > defined by the emacs source code? > > > In src/syswindows.h from xemacs source I see: > > #ifdef HAVE_X_WINDOWS > #define Status int > #endif You can workaround that by changing the include order, or you could redefine Status while including the windows headers. Or you could try to convert the above to a typedef. Other than that, in theory the windows headers should not use variable like this without underscoring them, as in typedef void __RPC_API RPC_OBJECT_INQ_FN(UUID *__ObjectUuid,UUID *__TypeUuid,RPC_STATUS *__Status); to avoid such clashes, but that requires some heavy patching of the upstream header files. While desirable, nothing for short-term... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |