View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005529ITKpublic2007-08-17 16:122010-10-27 15:12
ReporterMathieu Coursolle 
Assigned Tokentwilliams 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005529: ITK warnings in XCode about 64 bits to 32 bits conversion.
DescriptionWhen including ITK headers in an XCode project, the following warning appears multiple times:

warning: implicit conversion shortens 64-bit value into a 32-bit value

This is mainly cause when a double value is assign into a float value.

So far, the following files have been reported to cause that warning:
/Code/Common/itkNumericTraits.h
/Code/Common/itkLightProcessObject.h
/Code/Common/itkProcessObject.h
/Code/IO/itkImageSeriesReader.txx
/Code/BasicFilters/itkOrientImageFilter.txx
Additional InformationThere are no implicit conversion warnings left.
TagsNo tags attached.
Resolution Date
Sprint
Sprint Statusbacklog
Attached Files

 Relationships
related to 0006196assignedLuis Ibanez ITK has many 64 to 32 bit truncations, compiler warning can catch many of them 

  Notes
(0008505)
Mathieu Coursolle (developer)
2007-08-17 16:17

The following files have been fixed:

/Code/Common/itkNumericTraits.h
/Code/Common/itkLightProcessObject.h
/Code/Common/itkProcessObject.h
/Code/IO/itkImageSeriesReader.txx
/Code/BasicFilters/itkOrientImageFilter.txx
(0008508)
Mathieu Coursolle (developer)
2007-08-20 10:02

Fixed:
 
/Utilities/DICOMParser/DICOMAppHelper.h
(0008584)
Mathieu Coursolle (developer)
2007-08-22 13:49

Fixed:

/Code/IO/itkImageIORegion.h (long to int conversion.)
/Utilities/vxl/core/vnl/vnl_math.h (long to int conversion.)
(0008599)
Mathieu Coursolle (developer)
2007-08-23 09:29

Fixed:

/Code/Common/itkLandmarkBasedTransformInitializer.txx
/Code/IO/itkImageFileReader.txx
(0010268)
Luis Ibanez (manager)
2008-01-23 16:38

We will work on the Code/Common directory once we are done fixing the same 64bits->32bits problems in the Code/IO directory.
(0022624)
Hans Johnson (developer)
2010-10-21 13:15

Brad Lowekamp and Luis Ibanez can provide more feedback on an attempt that was made to fix.

 Issue History
Date Modified Username Field Change
2007-08-17 16:12 Mathieu Coursolle New Issue
2007-08-17 16:12 Mathieu Coursolle Status new => assigned
2007-08-17 16:12 Mathieu Coursolle Assigned To => Mathieu Coursolle
2007-08-17 16:17 Mathieu Coursolle Note Added: 0008505
2007-08-20 10:02 Mathieu Coursolle Note Added: 0008508
2007-08-22 13:49 Mathieu Coursolle Note Added: 0008584
2007-08-23 09:29 Mathieu Coursolle Note Added: 0008599
2008-01-23 16:38 Luis Ibanez Note Added: 0010268
2008-01-23 16:39 Luis Ibanez Relationship added related to 0006196
2010-10-21 13:14 Hans Johnson Assigned To Mathieu Coursolle => kentwilliams
2010-10-21 13:15 Hans Johnson Note Added: 0022624
2010-10-27 15:12 kentwilliams Sprint Status => backlog
2010-10-27 15:12 kentwilliams Status assigned => closed
2010-10-27 15:12 kentwilliams Resolution open => fixed
2010-10-27 15:12 kentwilliams Additional Information Updated


Copyright © 2000 - 2018 MantisBT Team