delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/03/12:24:43

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: <200104030912.f339CEo16900@capella.ssd.hal.com>
Subject: Re: port of omniorb
To: cygwin AT sourceware DOT cygnus DOT com (Cygwin Mailing List)
Date: Tue, 3 Apr 2001 02:12:14 -0700 (PDT)
In-Reply-To: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08EEA4@itdomain002.itdomain.net.au> from "Robert Collins" at Apr 03, 2001 09:09:33 AM
From: "J. J. Farrell" <jjf AT bcs DOT org DOT uk>
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0

> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019