xmlReadMemory / XML_PARSE_NOERROR
Fedora Rawhide CI jobs have started failing with:
[ 31s] gpst.c: In function 'gpst_xml_or_error':
[ 31s] gpst.c:242:19: error: implicit declaration of function 'xmlReadMemory'; did you mean 'xmlInitMemory'? [-Werror=implicit-function-declaration]
[ 31s] 242 | xml_doc = xmlReadMemory(response, strlen(response), NULL, NULL,
[ 31s] | ^~~~~~~~~~~~~
[ 31s] | xmlInitMemory
[ 31s] gpst.c:242:19: warning: nested extern declaration of 'xmlReadMemory' [-Wnested-externs]
[ 31s] gpst.c:243:33: error: 'XML_PARSE_NOERROR' undeclared (first use in this function)
[ 31s] 243 | XML_PARSE_NOERROR|XML_PARSE_RECOVER);
[ 31s] | ^~~~~~~~~~~~~~~~~
[ 31s] gpst.c:243:33: note: each undeclared identifier is reported only once for each function it appears in
[ 31s] gpst.c:243:51: error: 'XML_PARSE_RECOVER' undeclared (first use in this function)
[ 31s] 243 | XML_PARSE_NOERROR|XML_PARSE_RECOVER);
[ 31s] | ^~~~~~~~~~~~~~~~~