GNOME Bugzilla – Bug 321582
Parameter Incompatabilities with xmlHashScanFull
Last modified: 2005-11-16 11:48:48 UTC
Steps to reproduce: I am not using libxslt outside of gnome. The bug shows when the library is compiled not using __cdecl but __fastcall instead, which passes parameters in registers. This requires that the the parameter list of the called function is compatible with that of the callee. I propse a fix below. Stack trace: Other information: In libexslt, file functions.c, the functions * exsltFuncRegisterFunc * exsltFuncRegisterImportFunc need an additional parameter to be compatible with function xmlHashScanFull. I propose the following changes: static void exsltFuncRegisterFunc (exsltFuncFunctionData *data, xsltTransformContextPtr ctxt, const xmlChar *URI, const xmlChar *name /* DI */, ATTRIBUTE_UNUSED const xmlChar *ignored /* DI */) { static void exsltFuncRegisterImportFunc (exsltFuncFunctionData *data, exsltFuncImportRegData *ch, const xmlChar *URI, const xmlChar *name /* DI */, ATTRIBUTE_UNUSED const xmlChar *ignored /* DI */) {
Okay those are static functions, so making that change is fairly easy. Criticallity back to normal, because it is not on a GNOME platform, i.e. from a GNOME point of view this is not a blocker. Fix appliced and commited, thanks a lot, Daniel