You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by David Dunkle <dd...@arxan.com> on 2005/11/24 03:26:50 UTC

Xerces-C for Windows AMD64

We would like a working xerces-C++ for Windows XP 64, specifically AMD64. I
am starting to try to build the source for this platform using Visual Studio
8 (Visual Studio 2005 - the final version), and I have some questions.
 
1) I have seen one or two other people asking about this in the email
archives, but before I go to far, I would like to know if anyone has gotten
a functional xerces for 64 bit Windows.
2) We would like to build with VC8, but there is no VC8 project in the 2.7.0
release. Should we plan on creating one?
3) I have most of the subprojects now compiling and linking for me, without
changing any source, but I still see 3 compile errors and many disturbing
compiler warnings. 
 
The warnings:
 
The most bothersome warnings seem to me to be those where "long" is assumed
to be 64 bits; on this platform, I believe that long is 32 bits even though
pointers are 64. At least according to Microsoft's documentation. An example
warning is below, but there are many more. 
 
Configuration: Debug x64 ------
Compiling...
PSVIWriterHandlers.cpp
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818)
: warning C4244: 'return' : conversion from '__int64'
to 'unsigned long', possible loss of data
 
Is there a some way to deal with these kind of warnings that I don't
understand built into xerces, or should we plan on changing the source? The
problem seems pretty systemic.
 
Here are the errors. 
 
Are there known solutions for these errors or should we plan on fixing the
xerces source?
 
------ Build started: Project: PSVIWriter,
Configuration: Debug x64 ------
Compiling...
PSVIWriterHandlers.cpp
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818)
: warning C4244: 'return' : conversion from '__int64'
to 'unsigned long', possible loss of data
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(824)
: warning C4244: 'return' : conversion from '__int64'
to 'unsigned long', possible loss of data
..\..\..\..\..\samples\PSVIWriter\PSVIWriterHandlers.cpp(1617)
: error C2440: 'type cast' : cannot convert from
'xercesc_2_7::XSObject *' to 'unsigned long'
        The target is not large enough
Build log was saved at
"file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xe
rces-all\PSVIWriter\x64\Debug\BuildLog.htm"
PSVIWriter - 1 error(s), 2 warning(s)
------ Build started: Project: xml4com, Configuration:
Debug x64 ------
Compiling...
XMLHTTPRequest.cpp
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(40)
: warning C4996: '_tcsncpy' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\tchar.h(1467) : see declaration of
'_tcsncpy'
        Message: 'This function or variable may be
unsafe. Consider using _tcsncpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(41)
: warning C4996: 'strcat' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(78) : see declaration of
'strcat'
        Message: 'This function or variable may be
unsafe. Consider using strcat_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(42)
: warning C4996: 'strcat' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(78) : see declaration of
'strcat'
        Message: 'This function or variable may be
unsafe. Consider using strcat_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(121)
: warning C4244: '=' : conversion from 'WPARAM' to
'long', possible loss of data
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(250)
: warning C4996: '_tcslwr' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\tchar.h(1785) : see declaration of
'_tcslwr'
        Message: 'This function or variable may be
unsafe. Consider using _tcslwr_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(252)
: warning C4996: 'strcpy' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of
'strcpy'
        Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(253)
: warning C4996: '_tcslwr' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\tchar.h(1785) : see declaration of
'_tcslwr'
        Message: 'This function or variable may be
unsafe. Consider using _tcslwr_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(260)
: warning C4996: '_tcsncpy' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\tchar.h(1467) : see declaration of
'_tcsncpy'
        Message: 'This function or variable may be
unsafe. Consider using _tcsncpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(534)
: error C2664: 'InternetSetStatusCallback' : cannot
convert parameter 2 from 'void (__cdecl
*)(HINTERNET,DWORD,DWORD,LPVOID,DWORD)' to
'INTERNET_STATUS_CALLBACK'
        None of the functions with this name in scope
match the target type
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(744)
: error C2664: 'IWebBrowserApp::get_HWND' : cannot
convert parameter 1 from 'long *' to 'SHANDLE_PTR *'
        Types pointed to are unrelated; conversion
requires reinterpret_cast, C-style cast or
function-style cast
Build log was saved at
"file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xe
rces-all\xerces-com\x64\Debug\BuildLog.htm"
xml4com - 2 error(s), 8 warning(s)
------ Build started: Project: MemHandlerTest,
Configuration: Debug x64 ------
Compiling...
SimpleHashPtr.cpp
..\..\..\..\..\tests\MemHandlerTest\SimpleHashPtr.cpp(32)
: error C2440: 'type cast' : cannot convert from
'const void *const ' to 'long'
        The target is not large enough
Build log was saved at
"file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xe
rces-all\MemHandlerTest\x64\Debug\BuildLog.htm"
MemHandlerTest - 1 error(s), 0 warning(s)
------ Skipped Build: Project: DOMTest, Configuration:
Debug x64 ------
Project not selected to build for this solution
configuration 
========== Build: 0 succeeded, 3 failed, 28
up-to-date, 1 skipped ==========
  

RE: Xerces-C for Windows AMD64

Posted by David Dunkle <dd...@arxan.com>.
Thanks. I just filed a "new feature" request for Xerces-C++ so that I can
follow it, as you suggested. I believe that the issue "key" is XERCESC_1531.

-David D  

-----Original Message-----
From: David Bertoni [mailto:dbertoni@apache.org] 
Sent: Thursday, November 24, 2005 11:07 AM
To: c-dev@xerces.apache.org
Subject: Re: Xerces-C for Windows AMD64

David Dunkle wrote:
> We would like a working xerces-C++ for Windows XP 64, specifically 
> AMD64. I am starting to try to build the source for this platform 
> using Visual Studio 8 (Visual Studio 2005 - the final version), and I 
> have some questions.
>  
> 1) I have seen one or two other people asking about this in the email 
> archives, but before I go to far, I would like to know if anyone has 
> gotten a functional xerces for 64 bit Windows.
> 2) We would like to build with VC8, but there is no VC8 project in the 
> 2.7.0 release. Should we plan on creating one?
> 3) I have most of the subprojects now compiling and linking for me, 
> without changing any source, but I still see 3 compile errors and many 
> disturbing compiler warnings.
>  
> The warnings:
>  
> The most bothersome warnings seem to me to be those where "long" is 
> assumed to be 64 bits; on this platform, I believe that long is 32 
> bits even though pointers are 64. At least according to Microsoft's 
> documentation. An example warning is below, but there are many more.
>  
> Configuration: Debug x64 ------
> Compiling...
> PSVIWriterHandlers.cpp
> ..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818)
> : warning C4244: 'return' : conversion from '__int64'
> to 'unsigned long', possible loss of data
>  

I've already prepared a patch for this warning, but it means a change in the
public API, so it cannot go in until the 3.0 release.  For the time being,
you can ignore it.

> Is there a some way to deal with these kind of warnings that I don't 
> understand built into xerces, or should we plan on changing the 
> source? The problem seems pretty systemic.
>  
> Here are the errors.
>  
> Are there known solutions for these errors or should we plan on fixing 
> the xerces source?
>  
> ------ Build started: Project: PSVIWriter,
> Configuration: Debug x64 ------
> Compiling...
...

> ..\..\..\..\..\samples\PSVIWriter\PSVIWriterHandlers.cpp(1617)
> : error C2440: 'type cast' : cannot convert from 
> 'xercesc_2_7::XSObject *' to 'unsigned long'
>         The target is not large enough

The fix for this is a bit complicated, so I'll have to work on a fix for
this.

> Build log was saved at
>
"file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xe
rces-all\PSVIWriter\x64\Debug\BuildLog.htm"
> PSVIWriter - 1 error(s), 2 warning(s)
> ------ Build started: Project: xml4com, Configuration:
> Debug x64 ------
> Compiling...
> XMLHTTPRequest.cpp
> ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(40)
> : warning C4996: '_tcsncpy' was declared deprecated
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\include\tchar.h(1467) : see declaration of '_tcsncpy'
>         Message: 'This function or variable may be unsafe. Consider 
> using _tcsncpy_s instead. To disable deprecation, use 
> _CRT_SECURE_NO_DEPRECATE. See online help for details.'

This is Microsoft's idea of a joke, I guess.  They are trying to become
security conscious, so they decided to mark all sort of functions as
"deprecated."  You can ignore these errors.  I will be checking in a fix
that disables them.

Also, I suspect you will have to disable the COM wrappers, because they will
probably not build in 64-bit mode.  I don't think anyone is even maintaining
them now, and I'm not sure if COM can work with 64-bit applications.

...

> Build log was saved at
>
"file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xe
rces-all\xerces-com\x64\Debug\BuildLog.htm"
> xml4com - 2 error(s), 8 warning(s)
> ------ Build started: Project: MemHandlerTest,
> Configuration: Debug x64 ------
> Compiling...
> SimpleHashPtr.cpp
> ..\..\..\..\..\tests\MemHandlerTest\SimpleHashPtr.cpp(32)
> : error C2440: 'type cast' : cannot convert from 'const void *const ' 
> to 'long'
>         The target is not large enough

The fix is to cast size_t instead of long.  I will check in a fix for this.

If you want to track these fixes, feel free to create Jira enhancement
request, and I'll make sure to update it when the fixes are in the SVN
repository.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: Xerces-C for Windows AMD64

Posted by David Bertoni <db...@apache.org>.
David Dunkle wrote:
> We would like a working xerces-C++ for Windows XP 64, specifically 
> AMD64. I am starting to try to build the source for this platform using 
> Visual Studio 8 (Visual Studio 2005 - the final version), and I have 
> some questions.
>  
> 1) I have seen one or two other people asking about this in the email 
> archives, but before I go to far, I would like to know if anyone has 
> gotten a functional xerces for 64 bit Windows.
> 2) We would like to build with VC8, but there is no VC8 project in the 
> 2.7.0 release. Should we plan on creating one?
> 3) I have most of the subprojects now compiling and linking for 
> me, without changing any source, but I still see 3 compile errors and 
> many disturbing compiler warnings.
>  
> The warnings:
>  
> The most bothersome warnings seem to me to be those where "long" is 
> assumed to be 64 bits; on this platform, I believe that long is 32 bits 
> even though pointers are 64. At least according to Microsoft's 
> documentation. An example warning is below, but there are many more.
>  
> Configuration: Debug x64 ------
> Compiling...
> PSVIWriterHandlers.cpp
> ..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818)
> : warning C4244: 'return' : conversion from '__int64'
> to 'unsigned long', possible loss of data
>  

I've already prepared a patch for this warning, but it means a change in 
the public API, so it cannot go in until the 3.0 release.  For the time 
being, you can ignore it.

> Is there a some way to deal with these kind of warnings that I don't 
> understand built into xerces, or should we plan on changing the 
> source? The problem seems pretty systemic.
>  
> Here are the errors.
>  
> Are there known solutions for these errors or should we plan on fixing 
> the xerces source?
>  
> ------ Build started: Project: PSVIWriter,
> Configuration: Debug x64 ------
> Compiling...
...

> ..\..\..\..\..\samples\PSVIWriter\PSVIWriterHandlers.cpp(1617)
> : error C2440: 'type cast' : cannot convert from
> 'xercesc_2_7::XSObject *' to 'unsigned long'
>         The target is not large enough

The fix for this is a bit complicated, so I'll have to work on a fix for 
this.

> Build log was saved at
> "file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xerces-all\PSVIWriter\x64\Debug\BuildLog.htm"
> PSVIWriter - 1 error(s), 2 warning(s)
> ------ Build started: Project: xml4com, Configuration:
> Debug x64 ------
> Compiling...
> XMLHTTPRequest.cpp
> ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(40)
> : warning C4996: '_tcsncpy' was declared deprecated
>         C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\include\tchar.h(1467) : see declaration of
> '_tcsncpy'
>         Message: 'This function or variable may be
> unsafe. Consider using _tcsncpy_s instead. To disable
> deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
> help for details.'

This is Microsoft's idea of a joke, I guess.  They are trying to become 
security conscious, so they decided to mark all sort of functions as 
"deprecated."  You can ignore these errors.  I will be checking in a fix 
that disables them.

Also, I suspect you will have to disable the COM wrappers, because they 
will probably not build in 64-bit mode.  I don't think anyone is even 
maintaining them now, and I'm not sure if COM can work with 64-bit 
applications.

...

> Build log was saved at
> "file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xerces-all\xerces-com\x64\Debug\BuildLog.htm"
> xml4com - 2 error(s), 8 warning(s)
> ------ Build started: Project: MemHandlerTest,
> Configuration: Debug x64 ------
> Compiling...
> SimpleHashPtr.cpp
> ..\..\..\..\..\tests\MemHandlerTest\SimpleHashPtr.cpp(32)
> : error C2440: 'type cast' : cannot convert from
> 'const void *const ' to 'long'
>         The target is not large enough

The fix is to cast size_t instead of long.  I will check in a fix for this.

If you want to track these fixes, feel free to create Jira enhancement 
request, and I'll make sure to update it when the fixes are in the SVN 
repository.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


RE: Xerces-C for Windows AMD64

Posted by David Dunkle <dd...@arxan.com>.
Hi Saurabh,
 
I did what you suggest before sent the original post, and I see the warnings
and errors I listed in the original email. Did you do anything to avoid
these problems or did you just not see them at all.
 
-David D

  _____  

From: Saurabh [mailto:saurabh.b.bhatnagar@oracle.com] 
Sent: Thursday, November 24, 2005 1:36 AM
To: c-dev@xerces.apache.org
Cc: David Dunkle
Subject: RE: Xerces-C for Windows AMD64



Sorry!

We had 4 warnings at the end.

 

Here is the build log.

 


Build Log 

 

 

 


Build started: Project: XercesDeprecatedDOMLib, Configuration: Release|x64

 
 

Command Lines 

 

 

 

Creating temporary file
"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\R
SP00031031281940.rsp" with contents
[
/O2 /I "..\..\..\..\..\src" /D "NDEBUG" /D "_WINDOWS" /D "PLATFORM_WIN32" /D
"_CRTDBG_MAP_ALLOC" /D "PROJ_DEPRECATED_DOM" /D "WIN64" /D
"_VC80_UPGRADE=0x0710" /D "_WINDLL" /GF /FD /EHsc /MT /Gy /Za
/Fp".\..\..\..\..\..\Build\Win64\VC7.1\Release\obj/XercesDeprecatedDOMLib.pc
h" /Fo".\..\..\..\..\..\Build\Win64\VC7.1\Release\obj/"
/Fd".\..\..\..\..\..\Build\Win64\VC7.1\Release\obj/" /W3 /c /Wp64 /wd4996
"..\..\..\..\..\src\xercesc\dom\deprecated\XMLDeclImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\TreeWalkerImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\TextImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\RefCountedImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\RangeImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\ProcessingInstructionImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\ParentNode.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\NotationImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\NodeVector.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\NodeListImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\NodeIteratorImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\NodeImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\NodeIDMap.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\NamedNodeMapImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\EntityReferenceImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\EntityImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\ElementNSImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\ElementImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\ElementDefinitionImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DStringPool.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOMString.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOMParser.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DomMemDebug.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_XMLDecl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_TreeWalker.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Text.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_RangeException.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Range.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_ProcessingInstruction.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Notation.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_NodeList.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_NodeIterator.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_NodeFilter.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Node.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_NamedNodeMap.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_EntityReference.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Entity.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Element.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_DOMImplementation.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_DOMException.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_DocumentType.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_DocumentFragment.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Document.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Comment.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_CharacterData.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_CDATASection.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Attr.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DocumentTypeImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DocumentImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DocumentFragmentImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\DeepNodeListImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\CommentImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\ChildNode.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\CharacterDataImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\CDATASectionImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\AttrNSImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\AttrMapImpl.cpp"
 
"..\..\..\..\..\src\xercesc\dom\deprecated\AttrImpl.cpp"
]
Creating command line "cl.exe
@"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\
RSP00031031281940.rsp" /nologo /errorReport:prompt"
Creating temporary file
"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\R
SP00031131281940.rsp" with contents
[
/OUT:"..\..\..\..\..\Build\Win64\VC7.1\Release\xerces-depdom_2_7.dll"
/INCREMENTAL:NO /LIBPATH:"..\..\..\..\..\Build\Win64\VC7.1\Release" /DLL
/MANIFEST
/MANIFESTFILE:"x64\Release\xerces-depdom_2_7.dll.intermediate.manifest"
/PDB:".\..\..\..\..\..\Build\Win32\VC7.1\Release/xerces-depdom_2_7.pdb"
/MAP:".\..\..\..\..\..\Build\Win32\VC7.1\Release\obj/xerces-depdom_2_7.map"
/SUBSYSTEM:WINDOWS /BASE:"0x12000000"
/IMPLIB:".\..\..\..\..\..\Build\Win64\VC7.1\Release/xerces-depdom_2.lib"
/MACHINE:AMD64   ws2_32.lib xerces-c_2.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib odbc32.lib odbccp32.lib
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\AttrImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\AttrMapImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\AttrNSImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\CDATASectionImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\CharacterDataImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\ChildNode.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\CommentImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DeepNodeListImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DocumentFragmentImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DocumentImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DocumentTypeImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Attr.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_CDATASection.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_CharacterData.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Comment.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Document.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_DocumentFragment.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_DocumentType.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_DOMException.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_DOMImplementation.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Element.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Entity.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_EntityReference.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_NamedNodeMap.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Node.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_NodeFilter.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_NodeIterator.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_NodeList.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Notation.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_ProcessingInstruction.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Range.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_RangeException.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Text.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_TreeWalker.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_XMLDecl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DomMemDebug.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOMParser.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DOMString.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\DStringPool.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\ElementDefinitionImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\ElementImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\ElementNSImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\EntityImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\EntityReferenceImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\NamedNodeMapImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeIDMap.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeIteratorImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeListImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeVector.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\NotationImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\ParentNode.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\ProcessingInstructionImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\RangeImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\RefCountedImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\TextImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\TreeWalkerImpl.obj"
 
"..\..\..\..\..\build\win64\vc7.1\release\obj\XMLDeclImpl.obj"
]
Creating command line "link.exe
@"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\
RSP00031131281940.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file
"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\R
SP00031231281940.rsp" with contents
[
/outputresource:"..\..\..\..\..\build\win64\vc7.1\release\xerces-depdom_2_7.
dll;#2" /manifest
 
".\x64\release\xerces-depdom_2_7.dll.intermediate.manifest"
]
Creating command line "mt.exe
@"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\
RSP00031231281940.rsp" /nologo"
Creating temporary file
"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\B
AT00031331281940.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% >
".\x64\release\mt.dep"
]
Creating command line
"""c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release
\BAT00031331281940.bat"""
 

Output Window 

 

 

 

Compiling...
XMLDeclImpl.cpp
TreeWalkerImpl.cpp
TextImpl.cpp
RefCountedImpl.cpp
RangeImpl.cpp
ProcessingInstructionImpl.cpp
ParentNode.cpp
NotationImpl.cpp
NodeVector.cpp
NodeListImpl.cpp
NodeIteratorImpl.cpp
NodeImpl.cpp
NodeIDMap.cpp
NamedNodeMapImpl.cpp
EntityReferenceImpl.cpp
EntityImpl.cpp
ElementNSImpl.cpp
ElementImpl.cpp
ElementDefinitionImpl.cpp
DStringPool.cpp
Generating Code...
Compiling...
DOMString.cpp
..\..\..\..\..\src\xercesc\dom\deprecated\DOMString.cpp(395) : warning
C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible
loss of data
DOMParser.cpp
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818) : warning
C4244: 'return' : conversion from '__int64' to 'unsigned long', possible
loss of data
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(824) : warning
C4244: 'return' : conversion from '__int64' to 'unsigned long', possible
loss of data
..\..\..\..\..\src\xercesc/internal/XMLScanner.hpp(1292) : warning C4267:
'argument' : conversion from 'size_t' to 'const unsigned int', possible loss
of data
DomMemDebug.cpp
DOM_XMLDecl.cpp
DOM_TreeWalker.cpp
DOM_Text.cpp
DOM_RangeException.cpp
DOM_Range.cpp
DOM_ProcessingInstruction.cpp
DOM_Notation.cpp
DOM_NodeList.cpp
DOM_NodeIterator.cpp
DOM_NodeFilter.cpp
DOM_Node.cpp
DOM_NamedNodeMap.cpp
DOM_EntityReference.cpp
DOM_Entity.cpp
DOM_Element.cpp
DOM_DOMImplementation.cpp
DOM_DOMException.cpp
Generating Code...
Compiling...
DOM_DocumentType.cpp
DOM_DocumentFragment.cpp
DOM_Document.cpp
DOM_Comment.cpp
DOM_CharacterData.cpp
DOM_CDATASection.cpp
DOM_Attr.cpp
DocumentTypeImpl.cpp
DocumentImpl.cpp
DocumentFragmentImpl.cpp
DeepNodeListImpl.cpp
CommentImpl.cpp
ChildNode.cpp
CharacterDataImpl.cpp
CDATASectionImpl.cpp
AttrNSImpl.cpp
AttrMapImpl.cpp
AttrImpl.cpp
Generating Code...
Linking...
   Creating library
.\..\..\..\..\..\Build\Win64\VC7.1\Release/xerces-depdom_2.lib and object
.\..\..\..\..\..\Build\Win64\VC7.1\Release/xerces-depdom_2.exp
Embedding manifest...
 

Results 

 

 

 

Build log was saved at
"file://c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Re
lease\BuildLog.htm"
XercesDeprecatedDOMLib - 0 error(s), 4 warning(s)
 

 

 

  _____  

From: Saurabh N Bhatnagar [mailto:saurabh.n.bhatnagar@oracle.com] 
Sent: Thursday, November 24, 2005 2:57 PM
To: c-dev@xerces.apache.org
Cc: 'David Dunkle'
Subject: Re: Xerces-C for Windows AMD64

 

Yes, We have build Xerces-2.7 32 and 64 bit on AMD64 using MSVS 2005 BETA.

 

The .sln file is for VC7.1(VS.NET2003). Upon loading in visual studio it
asks if it can convert it to VC8.0. Convert them and most of your errors
will be taken care.

 

After, this apply your project standards for the compiler and lilnker
options.

 

That's it!

 

Xerces builds fine with about 40 warnings, some of them(_int) as you have
reported.

 

All the best...

Saurabh

----- Original Message ----- 

From: David Dunkle <ma...@arxan.com>  

To: c-dev@xerces.apache.org 

Cc: 'David Dunkle' <ma...@arxan.com>  

Sent: Thursday, November 24, 2005 7:56 AM

Subject: Xerces-C for Windows AMD64

 

We would like a working xerces-C++ for Windows XP 64, specifically AMD64. I
am starting to try to build the source for this platform using Visual Studio
8 (Visual Studio 2005 - the final version), and I have some questions.

 

1) I have seen one or two other people asking about this in the email
archives, but before I go to far, I would like to know if anyone has gotten
a functional xerces for 64 bit Windows.

2) We would like to build with VC8, but there is no VC8 project in the 2.7.0
release. Should we plan on creating one?

3) I have most of the subprojects now compiling and linking for me, without
changing any source, but I still see 3 compile errors and many disturbing
compiler warnings. 

 

The warnings:

 

The most bothersome warnings seem to me to be those where "long" is assumed
to be 64 bits; on this platform, I believe that long is 32 bits even though
pointers are 64. At least according to Microsoft's documentation. An example
warning is below, but there are many more. 

 

Configuration: Debug x64 ------
Compiling...
PSVIWriterHandlers.cpp
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818)
: warning C4244: 'return' : conversion from '__int64'
to 'unsigned long', possible loss of data

 

Is there a some way to deal with these kind of warnings that I don't
understand built into xerces, or should we plan on changing the source? The
problem seems pretty systemic.

 

Here are the errors. 

 

Are there known solutions for these errors or should we plan on fixing the
xerces source?

 

------ Build started: Project: PSVIWriter,
Configuration: Debug x64 ------
Compiling...
PSVIWriterHandlers.cpp
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818)
: warning C4244: 'return' : conversion from '__int64'
to 'unsigned long', possible loss of data
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(824)
: warning C4244: 'return' : conversion from '__int64'
to 'unsigned long', possible loss of data
..\..\..\..\..\samples\PSVIWriter\PSVIWriterHandlers.cpp(1617)
: error C2440: 'type cast' : cannot convert from
'xercesc_2_7::XSObject *' to 'unsigned long'
        The target is not large enough
Build log was saved at
"file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xe
rces-all\PSVIWriter\x64\Debug\BuildLog.htm"
PSVIWriter - 1 error(s), 2 warning(s)
------ Build started: Project: xml4com, Configuration:
Debug x64 ------
Compiling...
XMLHTTPRequest.cpp
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(40)
: warning C4996: '_tcsncpy' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\tchar.h(1467) : see declaration of
'_tcsncpy'
        Message: 'This function or variable may be
unsafe. Consider using _tcsncpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(41)
: warning C4996: 'strcat' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(78) : see declaration of
'strcat'
        Message: 'This function or variable may be
unsafe. Consider using strcat_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(42)
: warning C4996: 'strcat' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(78) : see declaration of
'strcat'
        Message: 'This function or variable may be
unsafe. Consider using strcat_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(121)
: warning C4244: '=' : conversion from 'WPARAM' to
'long', possible loss of data
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(250)
: warning C4996: '_tcslwr' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\tchar.h(1785) : see declaration of
'_tcslwr'
        Message: 'This function or variable may be
unsafe. Consider using _tcslwr_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(252)
: warning C4996: 'strcpy' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\string.h(73) : see declaration of
'strcpy'
        Message: 'This function or variable may be
unsafe. Consider using strcpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(253)
: warning C4996: '_tcslwr' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\tchar.h(1785) : see declaration of
'_tcslwr'
        Message: 'This function or variable may be
unsafe. Consider using _tcslwr_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(260)
: warning C4996: '_tcsncpy' was declared deprecated
        C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\tchar.h(1467) : see declaration of
'_tcsncpy'
        Message: 'This function or variable may be
unsafe. Consider using _tcsncpy_s instead. To disable
deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
help for details.'
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(534)
: error C2664: 'InternetSetStatusCallback' : cannot
convert parameter 2 from 'void (__cdecl
*)(HINTERNET,DWORD,DWORD,LPVOID,DWORD)' to
'INTERNET_STATUS_CALLBACK'
        None of the functions with this name in scope
match the target type
..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(744)
: error C2664: 'IWebBrowserApp::get_HWND' : cannot
convert parameter 1 from 'long *' to 'SHANDLE_PTR *'
        Types pointed to are unrelated; conversion
requires reinterpret_cast, C-style cast or
function-style cast
Build log was saved at
"file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xe
rces-all\xerces-com\x64\Debug\BuildLog.htm"
xml4com - 2 error(s), 8 warning(s)
------ Build started: Project: MemHandlerTest,
Configuration: Debug x64 ------
Compiling...
SimpleHashPtr.cpp
..\..\..\..\..\tests\MemHandlerTest\SimpleHashPtr.cpp(32)
: error C2440: 'type cast' : cannot convert from
'const void *const ' to 'long'
        The target is not large enough
Build log was saved at
"file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xe
rces-all\MemHandlerTest\x64\Debug\BuildLog.htm"
MemHandlerTest - 1 error(s), 0 warning(s)
------ Skipped Build: Project: DOMTest, Configuration:
Debug x64 ------
Project not selected to build for this solution
configuration 
========== Build: 0 succeeded, 3 failed, 28
up-to-date, 1 skipped ==========
  


RE: Xerces-C for Windows AMD64

Posted by Saurabh <sa...@oracle.com>.
Generator Microsoft Word 11 (filtered) Sorry!
We had 4 warnings at the end.

Here is the build log.

Build Log 



Build started: Project: XercesDeprecatedDOMLib, Configuration: Release|x64 


Command Lines 



Creating temporary file "c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\RSP00031031281940.rsp" with contents
[
/O2 /I "..\..\..\..\..\src" /D "NDEBUG" /D "_WINDOWS" /D "PLATFORM_WIN32" /D "_CRTDBG_MAP_ALLOC" /D "PROJ_DEPRECATED_DOM" /D "WIN64" /D "_VC80_UPGRADE=0x0710" /D "_WINDLL" /GF /FD /EHsc /MT /Gy /Za /Fp".\..\..\..\..\..\Build\Win64\VC7.1\Release\obj/XercesDeprecatedDOMLib.pch" /Fo".\..\..\..\..\..\Build\Win64\VC7.1\Release\obj/" /Fd".\..\..\..\..\..\Build\Win64\VC7.1\Release\obj/" /W3 /c /Wp64 /wd4996 "..\..\..\..\..\src\xercesc\dom\deprecated\XMLDeclImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\TreeWalkerImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\TextImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\RefCountedImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\RangeImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\ProcessingInstructionImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\ParentNode.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\NotationImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\NodeVector.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\NodeListImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\NodeIteratorImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\NodeImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\NodeIDMap.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\NamedNodeMapImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\EntityReferenceImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\EntityImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\ElementNSImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\ElementImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\ElementDefinitionImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DStringPool.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOMString.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOMParser.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DomMemDebug.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_XMLDecl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_TreeWalker.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Text.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_RangeException.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Range.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_ProcessingInstruction.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Notation.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_NodeList.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_NodeIterator.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_NodeFilter.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Node.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_NamedNodeMap.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_EntityReference.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Entity.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Element.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_DOMImplementation.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_DOMException.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_DocumentType.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_DocumentFragment.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Document.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Comment.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_CharacterData.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_CDATASection.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DOM_Attr.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DocumentTypeImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DocumentImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DocumentFragmentImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\DeepNodeListImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\CommentImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\ChildNode.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\CharacterDataImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\CDATASectionImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\AttrNSImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\AttrMapImpl.cpp"

"..\..\..\..\..\src\xercesc\dom\deprecated\AttrImpl.cpp"
]
Creating command line "cl.exe @"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\RSP00031031281940.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\RSP00031131281940.rsp" with contents
[
/OUT:"..\..\..\..\..\Build\Win64\VC7.1\Release\xerces-depdom_2_7.dll" /INCREMENTAL:NO /LIBPATH:"..\..\..\..\..\Build\Win64\VC7.1\Release" /DLL /MANIFEST /MANIFESTFILE:"x64\Release\xerces-depdom_2_7.dll.intermediate.manifest" /PDB:".\..\..\..\..\..\Build\Win32\VC7.1\Release/xerces-depdom_2_7.pdb" /MAP:".\..\..\..\..\..\Build\Win32\VC7.1\Release\obj/xerces-depdom_2_7.map" /SUBSYSTEM:WINDOWS /BASE:"0x12000000" /IMPLIB:".\..\..\..\..\..\Build\Win64\VC7.1\Release/xerces-depdom_2.lib" /MACHINE:AMD64 ws2_32.lib xerces-c_2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

"..\..\..\..\..\build\win64\vc7.1\release\obj\AttrImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\AttrMapImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\AttrNSImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\CDATASectionImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\CharacterDataImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\ChildNode.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\CommentImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DeepNodeListImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DocumentFragmentImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DocumentImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DocumentTypeImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Attr.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_CDATASection.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_CharacterData.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Comment.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Document.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_DocumentFragment.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_DocumentType.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_DOMException.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_DOMImplementation.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Element.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Entity.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_EntityReference.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_NamedNodeMap.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Node.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_NodeFilter.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_NodeIterator.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_NodeList.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Notation.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_ProcessingInstruction.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Range.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_RangeException.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_Text.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_TreeWalker.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOM_XMLDecl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DomMemDebug.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOMParser.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DOMString.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\DStringPool.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\ElementDefinitionImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\ElementImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\ElementNSImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\EntityImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\EntityReferenceImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\NamedNodeMapImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeIDMap.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeIteratorImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeListImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\NodeVector.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\NotationImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\ParentNode.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\ProcessingInstructionImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\RangeImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\RefCountedImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\TextImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\TreeWalkerImpl.obj"

"..\..\..\..\..\build\win64\vc7.1\release\obj\XMLDeclImpl.obj"
]
Creating command line "link.exe @"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\RSP00031131281940.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\RSP00031231281940.rsp" with contents
[
/outputresource:"..\..\..\..\..\build\win64\vc7.1\release\xerces-depdom_2_7.dll;#2" /manifest

".\x64\release\xerces-depdom_2_7.dll.intermediate.manifest"
]
Creating command line "mt.exe @"c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\RSP00031231281940.rsp" /nologo"
Creating temporary file "c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\BAT00031331281940.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\x64\release\mt.dep"
]
Creating command line """c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\BAT00031331281940.bat"""

Output Window 



Compiling...
XMLDeclImpl.cpp
TreeWalkerImpl.cpp
TextImpl.cpp
RefCountedImpl.cpp
RangeImpl.cpp
ProcessingInstructionImpl.cpp
ParentNode.cpp
NotationImpl.cpp
NodeVector.cpp
NodeListImpl.cpp
NodeIteratorImpl.cpp
NodeImpl.cpp
NodeIDMap.cpp
NamedNodeMapImpl.cpp
EntityReferenceImpl.cpp
EntityImpl.cpp
ElementNSImpl.cpp
ElementImpl.cpp
ElementDefinitionImpl.cpp
DStringPool.cpp
Generating Code...
Compiling...
DOMString.cpp
..\..\..\..\..\src\xercesc\dom\deprecated\DOMString.cpp(395) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
DOMParser.cpp
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818) : warning C4244: 'return' : conversion from '__int64' to 'unsigned long', possible loss of data
..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(824) : warning C4244: 'return' : conversion from '__int64' to 'unsigned long', possible loss of data
..\..\..\..\..\src\xercesc/internal/XMLScanner.hpp(1292) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
DomMemDebug.cpp
DOM_XMLDecl.cpp
DOM_TreeWalker.cpp
DOM_Text.cpp
DOM_RangeException.cpp
DOM_Range.cpp
DOM_ProcessingInstruction.cpp
DOM_Notation.cpp
DOM_NodeList.cpp
DOM_NodeIterator.cpp
DOM_NodeFilter.cpp
DOM_Node.cpp
DOM_NamedNodeMap.cpp
DOM_EntityReference.cpp
DOM_Entity.cpp
DOM_Element.cpp
DOM_DOMImplementation.cpp
DOM_DOMException.cpp
Generating Code...
Compiling...
DOM_DocumentType.cpp
DOM_DocumentFragment.cpp
DOM_Document.cpp
DOM_Comment.cpp
DOM_CharacterData.cpp
DOM_CDATASection.cpp
DOM_Attr.cpp
DocumentTypeImpl.cpp
DocumentImpl.cpp
DocumentFragmentImpl.cpp
DeepNodeListImpl.cpp
CommentImpl.cpp
ChildNode.cpp
CharacterDataImpl.cpp
CDATASectionImpl.cpp
AttrNSImpl.cpp
AttrMapImpl.cpp
AttrImpl.cpp
Generating Code...
Linking...
Creating library .\..\..\..\..\..\Build\Win64\VC7.1\Release/xerces-depdom_2.lib and object .\..\..\..\..\..\Build\Win64\VC7.1\Release/xerces-depdom_2.exp
Embedding manifest...

Results 



Build log was saved at "file://c:\xerces\xerces2.7\Projects\Win32\VC7.1\xerces-all\XercesLib\x64\Release\BuildLog.htm"
XercesDeprecatedDOMLib - 0 error(s), 4 warning(s)



From: Saurabh N Bhatnagar [mailto:saurabh.n.bhatnagar@oracle.com]  Sent: Thursday, November 24, 2005 2:57 PM To: c-dev@xerces.apache.org Cc: 'David Dunkle' Subject: Re: Xerces-C for Windows AMD64

Yes, We have build Xerces-2.7 32 and 64 bit on AMD64 using MSVS 2005 BETA.

The .sln file is for VC7.1(VS.NET2003). Upon loading in visual studio it asks if it can convert it to VC8.0. Convert them and most of your errors will be taken care.

After, this apply your project standards for the compiler and lilnker options.

That's it!

Xerces builds fine with about 40 warnings, some of them(_int) as you have reported.

All the best...
Saurabh
----- Original Message ----- 
From: David Dunkle 
To: c-dev@xerces.apache.org 
Cc: 'David Dunkle' 
Sent: Thursday, November 24, 2005 7:56 AM
Subject: Xerces-C for Windows AMD64

We would like a working xerces-C++ for Windows XP 64, specifically AMD64. I am starting to try to build the source for this platform using Visual Studio 8 (Visual Studio 2005 - the final version), and I have some questions.

1) I have seen one or two other people asking about this in the email archives, butbeforeI go to far, I would like to know if anyone has gottena functional xercesfor 64 bit Windows.
2) We would like to build with VC8, but there is no VC8 project in the 2.7.0 release. Should we plan on creating one?
3) I have most of the subprojectsnowcompiling and linking for me,without changing any source, but I still see3 compile errors and many disturbingcompiler warnings. 

The warnings:

The most bothersome warnings seem to me to be those where "long" is assumed to be 64 bits; on this platform, I believe that long is 32 bits even though pointers are 64. At least according to Microsoft's documentation. An example warningis below, but there are many more. 

Configuration: Debug x64 ------ Compiling... PSVIWriterHandlers.cpp ..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818) : warning C4244: 'return' : conversion from '__int64' to 'unsigned long', possible loss of data

Is there a some way to deal with these kind ofwarningsthat I don't understand built into xerces, or shouldwe planonchanging the source?The problem seems pretty systemic.

Here are the errors. 

Are there known solutions for these errors or should we plan on fixing the xerces source?

------ Build started: Project: PSVIWriter, Configuration: Debug x64 ------ Compiling... PSVIWriterHandlers.cpp ..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818) : warning C4244: 'return' : conversion from '__int64' to 'unsigned long', possible loss of data ..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(824) : warning C4244: 'return' : conversion from '__int64' to 'unsigned long', possible loss of data ..\..\..\..\..\samples\PSVIWriter\PSVIWriterHandlers.cpp(1617) : error C2440: 'type cast' : cannot convert from 'xercesc_2_7::XSObject *' to 'unsigned long' The target is not large enough Build log was saved at "file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xerces-all\PSVIWriter\x64\Debug\BuildLog.htm" PSVIWriter - 1 error(s), 2 warning(s) ------ Build started: Project: xml4com, Configuration: Debug x64 ------ Compiling... XMLHTTPRequest.cpp ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(40) : warning C4996: '_tcsncpy' was declared deprecated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\tchar.h(1467) : see declaration of '_tcsncpy' Message: 'This function or variable may be unsafe. Consider using _tcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(41) : warning C4996: 'strcat' was declared deprecated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(78) : see declaration of 'strcat' Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(42) : warning C4996: 'strcat' was declared deprecated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(78) : see declaration of 'strcat' Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(121) : warning C4244: '=' : conversion from 'WPARAM' to 'long', possible loss of data ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(250) : warning C4996: '_tcslwr' was declared deprecated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\tchar.h(1785) : see declaration of '_tcslwr' Message: 'This function or variable may be unsafe. Consider using _tcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(252) : warning C4996: 'strcpy' was declared deprecated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy' Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(253) : warning C4996: '_tcslwr' was declared deprecated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\tchar.h(1785) : see declaration of '_tcslwr' Message: 'This function or variable may be unsafe. Consider using _tcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(260) : warning C4996: '_tcsncpy' was declared deprecated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\tchar.h(1467) : see declaration of '_tcsncpy' Message: 'This function or variable may be unsafe. Consider using _tcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(534) : error C2664: 'InternetSetStatusCallback' : cannot convert parameter 2 from 'void (__cdecl *)(HINTERNET,DWORD,DWORD,LPVOID,DWORD)' to 'INTERNET_STATUS_CALLBACK' None of the functions with this name in scope match the target type ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(744) : error C2664: 'IWebBrowserApp::get_HWND' : cannot convert parameter 1 from 'long *' to 'SHANDLE_PTR *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Build log was saved at "file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xerces-all\xerces-com\x64\Debug\BuildLog.htm" xml4com - 2 error(s), 8 warning(s) ------ Build started: Project: MemHandlerTest, Configuration: Debug x64 ------ Compiling... SimpleHashPtr.cpp ..\..\..\..\..\tests\MemHandlerTest\SimpleHashPtr.cpp(32) : error C2440: 'type cast' : cannot convert from 'const void *const ' to 'long' The target is not large enough Build log was saved at "file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xerces-all\MemHandlerTest\x64\Debug\BuildLog.htm" MemHandlerTest - 1 error(s), 0 warning(s) ------ Skipped Build: Project: DOMTest, Configuration: Debug x64 ------ Project not selected to build for this solution configuration  ========== Build: 0 succeeded, 3 failed, 28 up-to-date, 1 skipped ==========

Re: Xerces-C for Windows AMD64

Posted by Saurabh N Bhatnagar <sa...@oracle.com>.
Yes, We have build Xerces-2.7 32 and 64 bit on AMD64 using MSVS 2005 BETA.

The .sln file is for VC7.1(VS.NET2003). Upon loading in visual studio it asks if it can convert it to VC8.0. Convert them and most of your errors will be taken care.

After, this apply your project standards for the compiler and lilnker options.

That's it!

Xerces builds fine with about 40 warnings, some of them(_int) as you have reported.

All the best...
Saurabh
  ----- Original Message ----- 
  From: David Dunkle 
  To: c-dev@xerces.apache.org 
  Cc: 'David Dunkle' 
  Sent: Thursday, November 24, 2005 7:56 AM
  Subject: Xerces-C for Windows AMD64


  We would like a working xerces-C++ for Windows XP 64, specifically AMD64. I am starting to try to build the source for this platform using Visual Studio 8 (Visual Studio 2005 - the final version), and I have some questions.

  1) I have seen one or two other people asking about this in the email archives, but before I go to far, I would like to know if anyone has gotten a functional xerces for 64 bit Windows.
  2) We would like to build with VC8, but there is no VC8 project in the 2.7.0 release. Should we plan on creating one?
  3) I have most of the subprojects now compiling and linking for me, without changing any source, but I still see 3 compile errors and many disturbing compiler warnings. 

  The warnings:

  The most bothersome warnings seem to me to be those where "long" is assumed to be 64 bits; on this platform, I believe that long is 32 bits even though pointers are 64. At least according to Microsoft's documentation. An example warning is below, but there are many more. 

  Configuration: Debug x64 ------
  Compiling...
  PSVIWriterHandlers.cpp
  ..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818)
  : warning C4244: 'return' : conversion from '__int64'
  to 'unsigned long', possible loss of data

  Is there a some way to deal with these kind of warnings that I don't understand built into xerces, or should we plan on changing the source? The problem seems pretty systemic.

  Here are the errors. 

  Are there known solutions for these errors or should we plan on fixing the xerces source?

  ------ Build started: Project: PSVIWriter,
  Configuration: Debug x64 ------
  Compiling...
  PSVIWriterHandlers.cpp
  ..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(818)
  : warning C4244: 'return' : conversion from '__int64'
  to 'unsigned long', possible loss of data
  ..\..\..\..\..\src\xercesc/internal/XSerializeEngine.hpp(824)
  : warning C4244: 'return' : conversion from '__int64'
  to 'unsigned long', possible loss of data
  ..\..\..\..\..\samples\PSVIWriter\PSVIWriterHandlers.cpp(1617)
  : error C2440: 'type cast' : cannot convert from
  'xercesc_2_7::XSObject *' to 'unsigned long'
          The target is not large enough
  Build log was saved at
  "file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xerces-all\PSVIWriter\x64\Debug\BuildLog.htm"
  PSVIWriter - 1 error(s), 2 warning(s)
  ------ Build started: Project: xml4com, Configuration:
  Debug x64 ------
  Compiling...
  XMLHTTPRequest.cpp
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(40)
  : warning C4996: '_tcsncpy' was declared deprecated
          C:\Program Files (x86)\Microsoft Visual Studio
  8\VC\include\tchar.h(1467) : see declaration of
  '_tcsncpy'
          Message: 'This function or variable may be
  unsafe. Consider using _tcsncpy_s instead. To disable
  deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
  help for details.'
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(41)
  : warning C4996: 'strcat' was declared deprecated
          C:\Program Files (x86)\Microsoft Visual Studio
  8\VC\include\string.h(78) : see declaration of
  'strcat'
          Message: 'This function or variable may be
  unsafe. Consider using strcat_s instead. To disable
  deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
  help for details.'
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(42)
  : warning C4996: 'strcat' was declared deprecated
          C:\Program Files (x86)\Microsoft Visual Studio
  8\VC\include\string.h(78) : see declaration of
  'strcat'
          Message: 'This function or variable may be
  unsafe. Consider using strcat_s instead. To disable
  deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
  help for details.'
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(121)
  : warning C4244: '=' : conversion from 'WPARAM' to
  'long', possible loss of data
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(250)
  : warning C4996: '_tcslwr' was declared deprecated
          C:\Program Files (x86)\Microsoft Visual Studio
  8\VC\include\tchar.h(1785) : see declaration of
  '_tcslwr'
          Message: 'This function or variable may be
  unsafe. Consider using _tcslwr_s instead. To disable
  deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
  help for details.'
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(252)
  : warning C4996: 'strcpy' was declared deprecated
          C:\Program Files (x86)\Microsoft Visual Studio
  8\VC\include\string.h(73) : see declaration of
  'strcpy'
          Message: 'This function or variable may be
  unsafe. Consider using strcpy_s instead. To disable
  deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
  help for details.'
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(253)
  : warning C4996: '_tcslwr' was declared deprecated
          C:\Program Files (x86)\Microsoft Visual Studio
  8\VC\include\tchar.h(1785) : see declaration of
  '_tcslwr'
          Message: 'This function or variable may be
  unsafe. Consider using _tcslwr_s instead. To disable
  deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
  help for details.'
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(260)
  : warning C4996: '_tcsncpy' was declared deprecated
          C:\Program Files (x86)\Microsoft Visual Studio
  8\VC\include\tchar.h(1467) : see declaration of
  '_tcsncpy'
          Message: 'This function or variable may be
  unsafe. Consider using _tcsncpy_s instead. To disable
  deprecation, use _CRT_SECURE_NO_DEPRECATE. See online
  help for details.'
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(534)
  : error C2664: 'InternetSetStatusCallback' : cannot
  convert parameter 2 from 'void (__cdecl
  *)(HINTERNET,DWORD,DWORD,LPVOID,DWORD)' to
  'INTERNET_STATUS_CALLBACK'
          None of the functions with this name in scope
  match the target type
  ..\..\..\..\..\src\xercesc\com\XMLHTTPRequest.cpp(744)
  : error C2664: 'IWebBrowserApp::get_HWND' : cannot
  convert parameter 1 from 'long *' to 'SHANDLE_PTR *'
          Types pointed to are unrelated; conversion
  requires reinterpret_cast, C-style cast or
  function-style cast
  Build log was saved at
  "file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xerces-all\xerces-com\x64\Debug\BuildLog.htm"
  xml4com - 2 error(s), 8 warning(s)
  ------ Build started: Project: MemHandlerTest,
  Configuration: Debug x64 ------
  Compiling...
  SimpleHashPtr.cpp
  ..\..\..\..\..\tests\MemHandlerTest\SimpleHashPtr.cpp(32)
  : error C2440: 'type cast' : cannot convert from
  'const void *const ' to 'long'
          The target is not large enough
  Build log was saved at
  "file://c:\ddunkleworkspace\mytests\xerces-c-src_2_7_0\Projects\Win32\VC8\xerces-all\MemHandlerTest\x64\Debug\BuildLog.htm"
  MemHandlerTest - 1 error(s), 0 warning(s)
  ------ Skipped Build: Project: DOMTest, Configuration:
  Debug x64 ------
  Project not selected to build for this solution
  configuration 
  ========== Build: 0 succeeded, 3 failed, 28
  up-to-date, 1 skipped ==========