This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
To be clear, I didn't personally invent those, but I'm still finding a bit strange doing only for mingw something completely different, considering in particular that the autoconf procedure is run *anyway* on mingw too...Ah, now I got you. Hmm, well, I see here no advantage in adding another macro to check for an macro. As in code of libstdc++ there is actual no use for those new ones.
Once more, I don't understand: didn't you suggest changing *only* ENOSPC and EPERM? Why are we now discussing other error-numbers like ECHILD, EAFNOSUPPORT and EBADMSG? Are the latter defined in errno.h? In that case, please use [GLIBCXX_CHECK_SYSTEM_ERROR] for now. We can always simplify things at a later time.Nevertheless, for some error-numbers (eg. EAFNOSUPPORT, EBADMSG, etc) - which are socket API related - there is no constant define in errno.h (and never will be). So code to emulate this would be still a manual thing in error_constants.h header AFAICS (if we plan to support them for mingw targets).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |