On 08/28/2011 10:05 PM, Kai Tietz wrote:
2011/8/28 Paolo Carlini<paolo.carl...@oracle.com>:
Hi,
Hello,

this patch adds some errno values supported by newer runtime-version.
To keep backward compatibility
this patch checks for their definition before trying to use them.
Any particular reason for not using [GLIBCXX_CHECK_SYSTEM_ERROR] for mingw
too (by extending the list of checked syserr appropriately)?

Paolo.
Well, I see here a possible clash for EOVERFLOW, which is defined for
Windows crt to E2BIG. So we would have in list a double enumerator
value for value_too_large and argument_list_too_long.  Additionally we
might want to include the socket-errors from WSA-equivalents.  Well,
not sure about the later, but at least I found this comment in header.
I don't understand: I only suggested using for mingw too the [GLIBCXX_CHECK_SYSTEM_ERROR] machinery (which is run *anyway* on mingw too), for the constants you are interested in, by adding those to the m4_foreach list.

Paolo.

Reply via email to