This is the mail archive of the cygwin-developers@sourceware.cygnus.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: mingw using wrong errno definition


On Wed, Apr 05, 2000 at 10:20:32AM -0500, Mumit Khan wrote:
>This is typical of code that declares it's own errno instead of using the
>declaration from system headers. I'm assuming of course that *all* code
>here is built using -mno-cygwin so that there's no mix-and-match.
>
>Search for `extern.*int.*errno' in your code. If there is such a thing,
>delete and include <errno.h> for both Cygwin and Mingw.

I'm pretty sure that the zlib code is doing the right thing.

>If that's not the case, please send me a download URL for the code or
>just email me the package (.tar.gz) if it's under a meg or so.

It's in CVS winsup/cinstall.  I think the problem is due to the fact
that zlib was compiled by cd'ing to the directory, as I mentioned in
another thread.  Compiling it from the winsup/cinstall directory should
rectify the problem.

cgf

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