[vtk-developers] redefined macro warning

Ben Boeckel ben.boeckel at kitware.com
Wed Dec 9 10:04:10 EST 2015


On Wed, Dec 09, 2015 at 09:34:23 -0500, Casey Goodlett wrote:
> I am seeing a couple of macro redefinition warnings in a project.
> Specifically
> 
> Filters/Hybrid/vtkPolyDataSilhouette.h
> Filters/Hybrid/vtkDepthSortPolyData.h
> 
> Rendering\Annotation\vtkAxisActor.h
> Rendering/Annotation\vtkAxisActor2D.h
> 
> Have conflicting defines.  I think these macros should probably become
> enums within the class scope.  Does that seem right?

Agreed.

--Ben


More information about the vtk-developers mailing list