https://bugs.winehq.org/show_bug.cgi?id=56973
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- I think the question here is why this path is used:
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml2
It's most likely incompatible, and for wine we are using imported libxml2 code, including headers.
Current prototype is:
static void sax_serror(void* ctx, xmlErrorPtr err)
and from libs/xml2 the type is:
typedef void (*xmlStructuredErrorFunc) (void *userData, xmlErrorPtr error);
So it should work fine together.