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

Reply via email to