Currently, libxml2 headers are outdated and partially
incorrect/incomplete. I updated the headers a couple of years ago. You
can find the patch file here:
https://gitlab.com/freepascal.org/fpc/source/-/issues/38905
Michał.
W dniu 2023-06-12 o 17:12, David Connolly via fpc-pascal pisze:
Hi all,
I upgraded to Debian 12 today and I've noticed some weird behaviour with
libxml2.
Free Pascal Compiler version 3.2.2+dfsg-20 [2023/03/30] for x86_64
program xml;
uses
xml2;
begin
end.
This program compiles fine, but will not run against the updated version
of libXML2.
The call of xmlXPathInit seems to be causing the error.
Regards,
David Connolly
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal