MantisBT - ITK
View Issue Details
0004965ITKpublic2007-05-03 16:112007-09-07 11:49
Mathieu Coursolle 
Luis Ibanez 
lowminoralways
closedfixed 
 
 
0004965: Enum to string conversion using << operator causes warnings in XCode project.
Some enums to string conversion using the << operator causes warning in XCode project including ITK headers where the conversion is made.

A patch is provided to solve some of them.

The warning looks like this:
itkOrientImageFilter.txx:693: warning: passing 'itk::SpatialOrientation::ValidCoordinateOrientationFlags' chooses 'int' over 'long unsigned int'
No tags attached.
txt patchfileEnum.txt (1,058) 1969-12-31 19:00
https://public.kitware.com/Bug/file/989/patchfileEnum.txt
Issue History
2007-08-20 14:07Mathieu CoursolleNote Added: 0008521
2007-09-07 11:48Luis IbanezNote Added: 0008884
2007-09-07 11:49Luis IbanezStatusassigned => closed
2007-09-07 11:49Luis IbanezNote Added: 0008885
2007-09-07 11:49Luis IbanezResolutionopen => fixed

Notes
(0007560)
Mathieu Coursolle   
2007-05-03 16:15   
See 4618.
(0008521)
Mathieu Coursolle   
2007-08-20 14:07   
Patch fixed.

Applied the same solution to:
/Code/Common/itkTransform.txx.
(0008884)
Luis Ibanez   
2007-09-07 11:48   
The commits are

itkTransform.txx
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkTransform.txx?root=Insight&r1=1.25&r2=1.26 [^]

and

itkOrientImageFilter.txx
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkOrientImageFilter.txx?root=Insight&r1=1.14&r2=1.15 [^]
(0008885)
Luis Ibanez   
2007-09-07 11:49   
Fixed by Mathieu,