MantisBT - ITK
View Issue Details
0005529ITKpublic2007-08-17 16:122010-10-27 15:12
Mathieu Coursolle 
kentwilliams 
normalminoralways
closedfixed 
 
 
backlog
0005529: ITK warnings in XCode about 64 bits to 32 bits conversion.
When 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
There are no implicit conversion warnings left.
No tags attached.
related to 0006196assigned Luis Ibanez ITK has many 64 to 32 bit truncations, compiler warning can catch many of them 
Issue History
2007-08-17 16:12Mathieu CoursolleNew Issue
2007-08-17 16:12Mathieu CoursolleStatusnew => assigned
2007-08-17 16:12Mathieu CoursolleAssigned To => Mathieu Coursolle
2007-08-17 16:17Mathieu CoursolleNote Added: 0008505
2007-08-20 10:02Mathieu CoursolleNote Added: 0008508
2007-08-22 13:49Mathieu CoursolleNote Added: 0008584
2007-08-23 09:29Mathieu CoursolleNote Added: 0008599
2008-01-23 16:38Luis IbanezNote Added: 0010268
2008-01-23 16:39Luis IbanezRelationship addedrelated to 0006196
2010-10-21 13:14Hans JohnsonAssigned ToMathieu Coursolle => kentwilliams
2010-10-21 13:15Hans JohnsonNote Added: 0022624
2010-10-27 15:12kentwilliamsSprint Status => backlog
2010-10-27 15:12kentwilliamsStatusassigned => closed
2010-10-27 15:12kentwilliamsResolutionopen => fixed
2010-10-27 15:12kentwilliamsAdditional Information Updated

Notes
(0008505)
Mathieu Coursolle   
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   
2007-08-20 10:02   
Fixed:
 
/Utilities/DICOMParser/DICOMAppHelper.h
(0008584)
Mathieu Coursolle   
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   
2007-08-23 09:29   
Fixed:

/Code/Common/itkLandmarkBasedTransformInitializer.txx
/Code/IO/itkImageFileReader.txx
(0010268)
Luis Ibanez   
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   
2010-10-21 13:15   
Brad Lowekamp and Luis Ibanez can provide more feedback on an attempt that was made to fix.