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

Re: port of omniorb


> From: "Robert Collins" <robert.collins@itdomain.com.au>
> 
> > From: bruno patin (travail) [mailto:bruno.patin@wanadoo.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


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