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 642780 - mingw: testThreads.c fails to compile
mingw: testThreads.c fails to compile
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: tests
2.7.8
Other Windows
: Normal critical
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-19 21:05 UTC by Steve McKay
Modified: 2017-10-31 16:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve McKay 2011-02-19 21:05:27 UTC
Line 110 of testThreads.c, (pthread_t) -1 generates an error because pthread_t is a struct on mingw. As that definition never reaches a use, I deleted line 110 and the build completed successfully. All tests passed, except that parsing ebcdic_566012.xml failed.
Comment 1 Sam Thursfield 2011-12-30 21:51:23 UTC
Duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=599241
Comment 2 Nick Wellnhofer 2017-10-31 16:21:09 UTC
This was fixed in 2010:

https://git.gnome.org/browse/libxml2/commit/?id=d794a84a9e147498069b4c582d57b899bf068187