This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Fwd: Cygwin64: errno.h error values
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 2 May 2013 21:07:17 -0400
- Subject: Re: Fwd: Cygwin64: errno.h error values
- References: <CAO1jNwt9oiarAt5A3Stn46b-shTFTwgCm0kioxjiHt_j1u-uww at mail dot gmail dot com> <CAO1jNwuuVwEcbDmGY=rZjm5i=AiQCxO=zhxGkkt1ekc=owdaOQ at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
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:
> <http://sourceforge.net/tracker/?func=detail&atid=983354&aid=3448042&group_id=202880>
>
>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.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple