applied a patch from Marcus Boerger to fix problems with calling
* error.c globals.c parser.c runtest.c testHTML.c testSAX.c
threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c
xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h
include/libxml/valid.h include/libxml/xmlIO.h
include/libxml/xmlerror.h include/libxml/xmlexports.h
include/libxml/xmlschemas.h: applied a patch from Marcus Boerger
to fix problems with calling conventions on Windows this should
fix #309757
Daniel
diff --git a/runtest.c b/runtest.c
index 1923dc1..3ec48cb 100644
--- a/runtest.c
+++ b/runtest.c
@@ -241,7 +241,7 @@
static char testErrors[32769];
static int testErrorsSize = 0;
-static void
+static void XMLCDECL
testErrorHandler(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) {
va_list args;
int res;
@@ -263,7 +263,7 @@
testErrors[testErrorsSize] = 0;
}
-static void
+static void XMLCDECL
channel(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) {
va_list args;
int res;
@@ -1287,7 +1287,7 @@
* Display and format a warning messages, gives file, line, position and
* extra parameters.
*/
-static void
+static void XMLCDECL
warningDebug(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...)
{
va_list args;
@@ -1310,7 +1310,7 @@
* Display and format a error messages, gives file, line, position and
* extra parameters.
*/
-static void
+static void XMLCDECL
errorDebug(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...)
{
va_list args;
@@ -1333,7 +1333,7 @@
* Display and format a fatalError messages, gives file, line, position and
* extra parameters.
*/
-static void
+static void XMLCDECL
fatalErrorDebug(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...)
{
va_list args;