[ http://issues.apache.org/jira/browse/XERCESC-1457?page=all ]
Alberto Massari resolved XERCESC-1457:
--------------------------------------
Resolution: Duplicate
Duplicate of XERCESC-1325
> Build fails for win64 release configuration when compiling using visual
> studio 8(beta 2) on amd64 machine.
> ----------------------------------------------------------------------------------------------------------
>
> Key: XERCESC-1457
> URL: http://issues.apache.org/jira/browse/XERCESC-1457
> Project: Xerces-C++
> Type: Bug
> Components: Build
> Versions: 2.6.0
> Environment: amd64, windows XP, visual studio 8 (beta 2)
> Reporter: Sameer Sudame
>
> Hi,
> When compiling XercesLib.mak using visual studio 8 build environment on amd64
> machine, I am getting following errror:
> Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50215.44 for x64
> Copyright (C) Microsoft Corporation. All rights reserved.
> cl /MD /Ze /W3 /GX /O2 /I "..\..\..\..\..\src" /D "WIN64" /D "NDEBUG" /D
> "PLAT
> FORM_WIN32" /D "_CRTDBG_MAP_ALLOC" /D "PROJ_XMLPARSER" /D "PROJ_XMLUTIL" /D
> "PRO
> J_PARSERS" /D "PROJ_SAX4C" /D "PROJ_SAX2" /D "PROJ_DOM" /D "PROJ_VALIDATORS"
> /D
> "XML_SINGLEDLL" /D "WIN32" /D "_WINDOWS" /D "XML_USE_WIN32_TRANSCODER" /D
> "XML_U
> SE_WIN32_MSGLOADER" /D "XML_USE_NETACCESSOR_WINSOCK"
> /Fo".\..\..\..\..\..\Build\
> Win64\VC6\Release\obj\\" /Fd".\..\..\..\..\..\Build\Win64\VC6\Release\obj\\"
> /FD
> /c ..\..\..\..\..\src\xercesc\util\MsgLoaders\Win32\Win32MsgLoader.cpp
> cl : Command line warning D9035 : option 'Ze' has been deprecated and will be
> re
> moved in a future release
> cl : Command line warning D9035 : option 'GX' has been deprecated and will be
> re
> moved in a future release
> cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
> Win32MsgLoader.cpp
> ..\..\..\..\..\src\xercesc\util\MsgLoaders\Win32\Win32MsgLoader.cpp(175) :
> error
> C2664: 'wcsncpy' : cannot convert parameter 1 from 'XMLCh *const ' to
> 'wchar_t
> *'
> Types pointed to are unrelated; conversion requires reinterpret_cast,
> C-
> style cast or function-style cast
> NMAKE : fatal error U1077: '"C:\program files\Microsoft Visual Studio
> 8\vc\bin\x
> 86_amd64\cl.exe"' : return code '0x2'
> Stop.
> Am I doing something wrong?
> Sameer
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]