[vtk-developers] borland developer studio 2006
Mathieu Malaterre
mathieu.malaterre at kitware.com
Wed Dec 7 16:15:34 EST 2005
Luca Picello wrote:
> Hello Mathieu,
> the new environment is officially still in preview. lots of bugs still
> in...
> however i'm particulary happy we can continue with bcb full RAD power!! :-)
> the petition to borland to force to be vtk compliant has not been
> forgotten. but we do need all your support (bcb developers).
>
> Borland C++ 5.8 for Win32 Copyright (c) 1993, 2005 Borland
> Z:\VTK\Utilities\DICOMParser\DICOMAppHelper.cxx:
> Error E2268 Z:\VTK\Utilities\DICOMParser\DICOMAppHelper.cxx 588: Call to
> undefined function 'memcpy' in function
> DICOMAppHelper::ImagePositionPatientCallback(DICOMParser *,unsigned
> short,unsigned short,DICOMParser::VRTypes,unsigned char *,int)
> Error E2268 Z:\VTK\Utilities\DICOMParser\DICOMAppHelper.cxx 610: Call to
> undefined function 'memcpy' in function
> DICOMAppHelper::ImagePositionPatientCallback(DICOMParser *,unsigned
> short,unsigned short,DICOMParser::VRTypes,unsigned char *,int)
> *** 2 errors in Compile ***
>
> bcb2006.bugs->add( "memcpy is defined in <mem.h> only, even if bds2006
> documentation reports <string.h>.")
> See ya,
> Luca
Fixed. thanks.
Mathieu
$ cvs dif Utilities/DICOMParser
Index: Utilities/DICOMParser/DICOMAppHelper.cxx
===================================================================
RCS file:
/cvsroot/ParaView/ParaView/VTK/Utilities/DICOMParser/DICOMAppHelper.cxx,v
retrieving revision 1.21
diff -u -3 -p -r1.21 DICOMAppHelper.cxx
--- Utilities/DICOMParser/DICOMAppHelper.cxx 25 Feb 2004 17:27:22
-0000 1.21
+++ Utilities/DICOMParser/DICOMAppHelper.cxx 7 Dec 2005 21:14:46 -0000
@@ -34,6 +34,9 @@
#include <string>
#include <math.h>
#include <algorithm>
+#if defined(__BORLANDC__)
+#include <mem.h> // for memcpy
+#endif
//#define DEBUG_DICOM_APP_HELPER
mathieu at golgot $ cvs ci -m"COMP: Fix compilation for new bcc compiler,
thanks to Luca Picello for report" Utilities/DICOMParser
/cvsroot/ParaView/ParaView/VTK/Utilities/DICOMParser/DICOMAppHelper.cxx,v
<-- DICOMAppHelper.cxx
new revision: 1.22; previous revision: 1.21
More information about the vtk-developers
mailing list