[Insight-developers] Warning - Empty class

Mathieu Coursolle mcoursolle at rogue-research.com
Tue Mar 20 12:16:46 EST 2007


Hi,

In my quest to remove all warnings from my application, I still have one
last warning
which is comming from ITK:

warning: 'itk::ImageConstIterator<ITK3DImage>::m_PixelAccessor' contains
empty classes which may cause base classes to be placed at different
locations in a future version of GCC

This can be solve easily by adding a constructor and destructor to the class
to the itkDefaultPixelAccessor class.

Any objections?

Here is a patch to do so.

Thanks you.

Mathieu

-- 
____________________________________________________________
Mathieu Coursolle                   mcoursolle at rogue-research.com
Rogue Research                      www.rogue-research.com 
Montréal, Québec, Canada
-------------- next part --------------
? Utilities/nifti/.DS_Store
Index: Code/Common/itkDefaultPixelAccessor.h
===================================================================
RCS file: /cvsroot/Insight/Insight/Code/Common/itkDefaultPixelAccessor.h,v
retrieving revision 1.9
diff -r1.9 itkDefaultPixelAccessor.h
56a57,59
>   DefaultPixelAccessor() {}
>   virtual ~DefaultPixelAccessor() {}
> 


More information about the Insight-developers mailing list