calls to mempy are not qualified with std namespace
---------------------------------------------------
Key: XERCESC-1851
URL: https://issues.apache.org/jira/browse/XERCESC-1851
Project: Xerces-C++
Issue Type: Bug
Affects Versions: 2.8.0, 3.0.0
Environment: Embarcadero C++Builder 2009
Reporter: David Dean
Priority: Blocker
The below log expert shows that the failure to compile. If I replace the calls
to memcpy with std::memcpy everything compiles correctly.
[17:31:09]: C:\BUILDA~1\work\xerces28\INTEGR~1\bin\..\BIN\bcc32 -Od -w -g0
-Tkh30000 -X- -r- -a8 -4 -b -k -y -v -vi- -c -tWM -tWC
-I..\..\..\..\..\samples\src\PParse;..\..\..\..\..\src
-D_DEBUG;XERCES_NO_CONFIGURE_SUPPORT;_NO_VCL;NO_STRICT;_VIS_NOLIB;_RTLDLL
-n..\..\..\..\..\Build\Win32\BCC.551\obj\
..\..\..\..\..\samples\src\PParse\PParse.CPP
..\..\..\..\..\samples\src\PParse\PParseHandlers.CPP
[17:31:10]: CodeGear C++ 6.20 for Win32 Copyright (c) 1993-2008 CodeGear
[17:31:10]: ..\..\..\..\..\samples\src\PParse\PParse.cpp:
[17:31:10]: Warning W8080 ..\..\..\..\..\samples\src\PParse\PParse.cpp 296:
'gXercesVersionStr' is declared but never used
[17:31:10]: Warning W8080 ..\..\..\..\..\samples\src\PParse\PParse.cpp 296:
'gXercesFullVersionStr' is declared but never used
[17:31:10]: Warning W8080 ..\..\..\..\..\samples\src\PParse\PParse.cpp 296:
'gDefOutOfMemoryErrMsg' is declared but never used
[17:31:10]: ..\..\..\..\..\samples\src\PParse\PParseHandlers.cpp:
[17:31:10]: Error E2268 ..\..\..\..\..\src\xercesc/framework/XMLBuffer.hpp 126:
Call to undefined function 'memcpy' in function XMLBuffer::append(const wchar_t
* const,const unsigned long)
[17:31:10]: Error E2268 ..\..\..\..\..\src\xercesc/framework/XMLBuffer.hpp 144:
Call to undefined function 'memcpy' in function XMLBuffer::append(const wchar_t
* const)
[17:31:10]: Error E2268 ..\..\..\..\..\src\xercesc/util/XMLString.hpp 1530:
Call to undefined function 'memcpy' in function XMLString::moveChars(wchar_t *
const,const wchar_t * const,const unsigned long)
[17:31:10]: Error E2268 ..\..\..\..\..\src\xercesc/util/XMLString.hpp 1559:
Call to undefined function 'memcpy' in function XMLString::replicate(const
wchar_t * const,MemoryManager * const)
[17:31:10]: *** 4 errors in Compile ***
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]