After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 702229 - Fix warnings with ming64 runtime
Fix warnings with ming64 runtime
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-14 10:08 UTC by oldfaber
Modified: 2019-11-02 20:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description oldfaber 2013-06-14 10:08:39 UTC
mingw64 <errno.h> #defined many EXXXXX errors for socket operation that duplicates the #defines in wsockcompat.h

A simple workaround is to use

#if (!defined(_MSC_VER) || (_MSC_VER < 1600)) && defined(__MINGW32_VERSION)
at line 45 of wsockcompat.h.
__MINGW32_VERSION is always and only defined for Mingw32 runtime.

Tested with mingw.org API 3.18 and mingw-build and all version of libxml2 from
The fix is for git head and 2.9.1


Thank you.
Fabio
Comment 1 Nick Wellnhofer 2019-11-02 20:38:35 UTC
Should be fixed here: https://gitlab.gnome.org/GNOME/libxml2/commit/5b2324b6e007b5a03e4131877ab09f4dc8037e59