This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Fwd: Cygwin64: errno.h error values

On Thu, May 02, 2013 at 10:14:33PM +0200, Jan Nijtmans wrote:
>Hi all,
>Comparing errno.h from cygwin with the ones from mingw(-64) and VS10, the first
>ones on the list have equal values, but later on values are diverging. I already
>reported that to the mingw-w64 people, and they adapted the list making
>it the same as VS10. See:
>    <>
>Cygwin apparently started with initial values of some early Visual
>Studio, and added
>the missing ones, using succeeding values. Having different values in Cygwin and
>MS might cause unexpected problems: every time when transferring error-codes
>between some MS dll and cygwin, proper translation must be done between the
>two domains when the error-codes are different.

We make ABSOLUTELY no guarantees that our errnos will match any other
system's.  You can't expect that you will be able to use Cygwin errno's
in pure Windows applications.  We really don't care if our errnos match
those of Windows.  Sorry.


Problem reports:
Unsubscribe info:

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