Dyuti Barma wrote:
Hi,
I am using Visual Studio 2003 in a project which uses binaries of Xerces 2.7 and Xalan 1.10.
I tried to upgrade to VC8 but, I am getting these errors:
xalanc/DOMSupport/DOMServices.hpp(571) : error C2664: 'void (const XMLCh
*const ,const unsigned int)' : cannot convert parameter 1 from 'const
xalanc_1_10::XalanDOMChar *' to 'const XMLCh *const '
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
xalanc/XPath/XObject.hpp(339) : error C2664: 'void (const XMLCh *const,const
unsigned int)' : cannot convert parameter 1 from 'const
xalanc_1_10::XalanDOMChar *' to 'const XMLCh *const '
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
xalanc/XPath/XObject.hpp(343) : error C2664: 'void (const XMLCh *const,const
unsigned int)' : cannot convert parameter 1 from 'const
xalanc_1_10::XalanDOMChar *' to 'const XMLCh *const '
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
I downloaded Xerces compiled using VC 8.0, but couldn't find Xalan compiled
with VC 8.0 anywhere. Does anyone know where I can get VC8 libs for Xalan (or
even the source compatible with VC8) ?
The trunk of the Subversion repository contains source which will build
with VC8 and VC9. If you must use Xalan-C 1.10, you can search the
archives of this mailing list for more information about how to modify
1.10 to make it work.
Note also that Xerces-C 3.0 was just released, so you might want to
upgrade from 2.7 to 3.0.
Dave