View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006663VTK(No Category)public2008-03-26 10:162009-07-13 09:39
ReporterMaik Beckmann 
Assigned ToFrançois Bertel 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformLinuxOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006663: GCC-4.3 fails to compile the VTK-5-0 branch
DescriptionGCC-4.3 cleaned up their stl files. This leads to the fact that
  cstring aka string.h
is no longer included when
  string
is.

The following source files suffer from this
 - Utilities/DICOMParser/DICOMAppHelper.cxx
 - Utilities/DICOMParser/DICOMFile.cxx
 - Utilities/DICOMParser/DICOMParser.cxx



Additional InformationThe solution is to add
 #include <cstring>

However, since I saw
 #include <stdlib.h>
instead of
 #include <cstdlib>
in the mentioned files I guess
 #include <string.h>
is what you're want (old compiler compatibility).

A patch for solves the problem by adding
 #include <string.h>
to the three files mentioned above is attached.
TagsNo tags attached.
Project
Type
Attached Filespatch file icon gcc43.patch [^] (1,052 bytes) 2008-03-26 10:16 [Show Content]

 Relationships

  Notes
(0016854)
François Bertel (developer)
2009-07-13 09:39

Same as http://www.vtk.org/Bug/view.php?id=7280 [^]

 Issue History
Date Modified Username Field Change
2008-03-26 10:16 Maik Beckmann New Issue
2008-03-26 10:16 Maik Beckmann File Added: gcc43.patch
2009-07-13 09:38 François Bertel Status backlog => tabled
2009-07-13 09:38 François Bertel Assigned To => François Bertel
2009-07-13 09:39 François Bertel Note Added: 0016854
2009-07-13 09:39 François Bertel Status tabled => closed
2009-07-13 09:39 François Bertel Resolution open => duplicate
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team