MantisBT - ITK
View Issue Details
0004966ITKpublic2007-05-03 16:142007-09-07 11:46
Mathieu Coursolle 
Luis Ibanez 
lowminoralways
closedfixed 
 
 
0004966: itkCastImageFilter causes warning in XCode project.
itkCastImageFilter causes the following warning in XCode projects:

itkUnaryFunctorImageFilter.h:120: warning: 'itk::UnaryFunctorImageFilter<ITK3DImage, ITK3DImage, itk::Functor::Cast<double, double> >::m_Functor' contains empty classes which may cause base classes to be placed at different locations in a future version of GCC

A patch is provided. The bug was fixed by setting the destructor as virtual.
No tags attached.
txt patchfileEmpty.txt (298) 1969-12-31 19:00
https://public.kitware.com/Bug/file/990/patchfileEmpty.txt
Issue History
2007-08-20 13:57Mathieu CoursolleNote Added: 0008516
2007-09-07 11:45Luis IbanezNote Added: 0008882
2007-09-07 11:46Luis IbanezStatusassigned => closed
2007-09-07 11:46Luis IbanezNote Added: 0008883
2007-09-07 11:46Luis IbanezResolutionopen => fixed

Notes
(0007558)
Mathieu Coursolle   
2007-05-03 16:14   
See bug:4641
(0008516)
Mathieu Coursolle   
2007-08-20 13:57   
Patch was commited.
(0008882)
Luis Ibanez   
2007-09-07 11:45   
Thanks Mathieu for committing the fix:
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkCastImageFilter.h?root=Insight&r1=1.12&r2=1.13 [^]
(0008883)
Luis Ibanez   
2007-09-07 11:46   
Fixed by Mathieu.