18 Aug
2024
18 Aug
'24
2:30 p.m.
@nsivov `--with-mingw=clang`. This is my old patch. I tested it now, it seems to compile without it. About two months ago there was a clang bug, and it refused to accept `xmlErrorPtr`. It seems like he was complaining that the types were different and there was a `const` in the prototype, `const xmlErrorPtr` also didn't compile. Also in main.c some types were not resolved and it was necessary to add `#include <libxml/globals.h>`. It may have been a clang bug that was fixed in Fedora 40. ``` typedef void xmlStructuredErrorFunc (void * userData, const xmlError * error); ``` https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-xmlerror.html -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6306#note_79070