diff -Naur EasySoap++-0.6.1.orig/include/easysoap/SOAPParameter.h EasySoap++-0.6.1/include/easysoap/SOAPParameter.h
--- EasySoap++-0.6.1.orig/include/easysoap/SOAPParameter.h	2002-12-10 16:14:57.000000000 +0100
+++ EasySoap++-0.6.1/include/easysoap/SOAPParameter.h	2002-12-10 16:15:05.000000000 +0100
@@ -168,7 +168,7 @@
 		Data(const Data&);
 	};
 
-	friend Data;
+	friend class Data;
 
 	Pool			m_pool;
 	SOAPParameter	*m_parent;
diff -Naur EasySoap++-0.6.1.orig/src/XMLParser.cpp EasySoap++-0.6.1/src/XMLParser.cpp
--- EasySoap++-0.6.1.orig/src/XMLParser.cpp	2002-12-10 16:14:57.000000000 +0100
+++ EasySoap++-0.6.1/src/XMLParser.cpp	2002-12-10 16:20:11.000000000 +0100
@@ -48,7 +48,7 @@
 {
 	if (m_parser)
 	{
-		XML_ParserFree(m_parser);
+		XML_ParserFree((XML_ParserStruct*)m_parser);
 		m_parser = 0;
 	}
 }
@@ -58,43 +58,43 @@
 {
 	FreeParser();
 	m_parser = XML_ParserCreateNS(encoding, '#');
-	XML_SetElementHandler(m_parser,
+	XML_SetElementHandler((XML_ParserStruct*)m_parser,
 			XMLParser::_startElement,
 			XMLParser::_endElement);
 
-	XML_SetCharacterDataHandler(m_parser,
+	XML_SetCharacterDataHandler((XML_ParserStruct*)m_parser,
 			XMLParser::_characterData);
 
-	XML_SetStartNamespaceDeclHandler(m_parser,
+	XML_SetStartNamespaceDeclHandler((XML_ParserStruct*)m_parser,
 			XMLParser::_startNamespace);
 
-	XML_SetEndNamespaceDeclHandler(m_parser,
+	XML_SetEndNamespaceDeclHandler((XML_ParserStruct*)m_parser,
 			XMLParser::_endNamespace);
 
-	XML_SetUserData(m_parser, this);
+	XML_SetUserData((XML_ParserStruct*)m_parser, this);
 }
 
 void *
 XMLParser::GetParseBuffer(int size)
 {
-	if (m_parser)
-		return XML_GetBuffer(m_parser, size);
+	if ((XML_ParserStruct*)m_parser)
+		return XML_GetBuffer((XML_ParserStruct*)m_parser, size);
 	return 0;
 }
 
 bool
 XMLParser::ParseBuffer(int size)
 {
-	if (m_parser)
-		return XML_ParseBuffer(m_parser, size, size == 0) != 0;
+	if ((XML_ParserStruct*)m_parser)
+		return XML_ParseBuffer((XML_ParserStruct*)m_parser, size, size == 0) != 0;
 	return false;
 }
 
 const char *
 XMLParser::GetErrorMessage()
 {
-	if (m_parser)
-		return XML_ErrorString(XML_GetErrorCode(m_parser));
+	if ((XML_ParserStruct*)m_parser)
+		return XML_ErrorString(XML_GetErrorCode((XML_ParserStruct*)m_parser));
 	return 0;
 }
 
