xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aphale, Awadhoot" <Awadhoot.Aph...@ca.com>
Subject Xerces 2.7 - Xalan 1.10 in VC 2005 query
Date Thu, 04 Oct 2007 07:37:19 GMT
Hi,

 

I am trying to use Xerces 2.7 & Xalan 1.10 in VC 2005. When I tried to
build, I got errors like following,

 

C:\xalan-c-1.10.0-WithOutICU\win\include\xalanc/DOMSupport/DOMServices.h
pp(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

C:\xalan-c-1.10.0-WithOutICU\win\include\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

C:\xalan-c-1.10.0-WithOutICU\win\include\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

XMLGEN.cpp

C:\xalan-c-1.10.0-WithOutICU\win\include\xalanc/DOMSupport/DOMServices.h
pp(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

C:\xalan-c-1.10.0-WithOutICU\win\include\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

C:\xalan-c-1.10.0-WithOutICU\win\include\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

XmlDoc.cpp

C:\xalan-c-1.10.0-WithOutICU\win\include\xalanc/DOMSupport/DOMServices.h
pp(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

C:\xalan-c-1.10.0-WithOutICU\win\include\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

C:\xalan-c-1.10.0-WithOutICU\win\include\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

XMLContent.cpp

C:\xalan-c-1.10.0-WithOutICU\win\include\xalanc/DOMSupport/DOMServices.h
pp(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

C:\xalan-c-1.10.0-WithOutICU\win\include\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

C:\xalan-c-1.10.0-WithOutICU\win\include\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

 

Then. I downloaded Xerces 2.7 from Apache & compiled in VC 2005. But
when I tried to compile Xalan 1.10 in VC 2005, it gave another set of
errors like following,

 

XalanFileUtility.cpp

c:\My Documents\CA-ARDS 2.3\XML Exchange\Libraries\Xalan-C_current-src
(Before porting from 2k3 to
2k5)\xml-xalan\c\src\xalanc/PlatformSupport/DirectoryEnumerator.hpp(84)
: error C2440: 'return' : cannot convert from 'const wchar_t [260]' to
'const xalanc_1_10::XalanDOMChar *'

        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast

c:\My Documents\CA-ARDS 2.3\XML Exchange\Libraries\Xalan-C_current-src
(Before porting from 2k3 to
2k5)\xml-xalan\c\src\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

c:\My Documents\CA-ARDS 2.3\XML Exchange\Libraries\Xalan-C_current-src
(Before porting from 2k3 to
2k5)\xml-xalan\c\src\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

c:\My Documents\CA-ARDS 2.3\XML Exchange\Libraries\Xalan-C_current-src
(Before porting from 2k3 to
2k5)\xml-xalan\c\src\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

c:\My Documents\CA-ARDS 2.3\XML Exchange\Libraries\Xalan-C_current-src
(Before porting from 2k3 to
2k5)\xml-xalan\c\src\xalanc/PlatformSupport/URISupport.hpp(110) : error
C2664: 'void xercesc_2_7::XMLURL::setURL(const XMLCh *const )' : 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

..\..\..\..\src\xalanc\Harness\XalanFileUtility.cpp(443) : error C2664:
'xalanc_1_10::XalanDOMString::XalanDOMString(const char
*,xalanc_1_10::MemoryManagerType
&,xalanc_1_10::XalanDOMString::size_type)' : cannot convert parameter 1
from 'const wchar_t [6]' to 'const char *'

        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast

..\..\..\..\src\xalanc\Harness\XalanFileUtility.cpp(489) : error C2664:
'xalanc_1_10::XalanDOMString::XalanDOMString(const char
*,xalanc_1_10::MemoryManagerType
&,xalanc_1_10::XalanDOMString::size_type)' : cannot convert parameter 1
from 'const wchar_t [2]' to 'const char *'

        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast

 

There are more then 650 errors.

I am not getting how to overcome this problem. Any help would be
appreciable. 

 

 

Thanks,

Awadhoot


Mime
View raw message