delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3ACA4BAB.9030705@wanadoo.fr> |
Date: | Wed, 04 Apr 2001 00:16:11 +0200 |
From: | "bruno patin (travail)" <bruno DOT patin AT wanadoo DOT fr> |
User-Agent: | Mozilla/5.0 (X11; U; Linux 2.2.16 i586; en-US; m18) Gecko/20001107 Netscape6/6.0 |
X-Accept-Language: | fr-fr, fr-FR |
MIME-Version: | 1.0 |
To: | "J. J. Farrell" <jjf AT bcs DOT org DOT uk> |
CC: | groupe cygwin <cygwin AT cygwin DOT com> |
Subject: | Re: port of omniorb |
References: | <200104030912 DOT f339CEo16900 AT capella DOT ssd DOT hal DOT com> |
Hi, I agree with you I think there is a bug. My question was not on what the definition of X_OK is but why it is as indicated by robert collins. As a matter of fact, to end with mico, I only made the modification indicated in my other mail and the compilation posed no other problem. So I return to omniORB. J. J. Farrell wrote: >> From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> >> >>> From: bruno patin (travail) [mailto:bruno DOT patin AT wanadoo DOT fr] >>> >>> as a matter of fact, I'll speak of Mico. There is at least >>> one problem >>> with the porting. In the file mico/include/mico/os-misc.h, >>> there is in >>> an enumerate an initialisation with the value X_OK. But the file >>> unistd.h (in sys) define this value as : define X_OK >>> _cygwin_X_OK and it >>> is not an integer so you have an error at the compilation of >>> the file in >>> mico that include os-misc.h. I replace X_OK directly by the >>> value of one >>> (not a great feat and subject to other error I know). But what is the >>> meaning of this define of X_OK in cygwin ? >> >> It's exported from libcygwin.a >> (look in unistd.h - you should see >> extern const unsigned _cygwin_X_OK;) > > > That looks like an implementation bug - X_OK is supposed to be > defined as a constant in <unistd.h>. > > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple > > > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |