[vtk-developers] help with cppcheck duplInheritedMember warnings

Sean McBride sean at rogue-research.com
Fri May 5 10:09:55 EDT 2017


On Wed, 3 May 2017 09:25:09 -0600, David Gobbi said:

>I don't think suppressing them is a good idea, redefined member variables
>are strongly indicative of real bugs.

Thanks David & Jon!  We are down to 10 now:

Charts/Core/vtkPlot3D.h:152: warning: The class 'vtkPlotSurface' defines member variable with name 'Colors' also defined in its parent class 'vtkPlot3D'.

Charts/Core/vtkChartMatrix.h:155: warning: The class 'vtkScatterPlotMatrix' defines member variable with name 'Private' also defined in its parent class 'vtkChartMatrix'.

Common/DataModel/vtkGenericCellTessellator.h:211: warning: The class 'vtkSimpleCellTessellator' defines member variable with name 'DataSet' also defined in its parent class 'vtkGenericCellTessellator'.

Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.h:349: warning: The class 'vtkCompositeDataPipeline' defines member variable with name 'UpdateExtentRequest' also defined in its parent class 'vtkStreamingDemandDrivenPipeline'.

IO/SQL/vtkTableToDatabaseWriter.h:75: warning: The class 'vtkTableToSQLiteWriter' defines member variable with name 'Input' also defined in its parent class 'vtkTableToDatabaseWriter'.

Interaction/Widgets/vtkBiDimensionalRepresentation.h:213: warning: The class 'vtkBiDimensionalRepresentation2D' defines member variable with name 'Modifier' also defined in its parent class 'vtkBiDimensionalRepresentation'.

Rendering/OpenGL/vtkStandardPolyDataPainter.h:86: warning: The class 'vtkHardwareSelectionPolyDataPainter' defines member variable with name 'TotalCells' also defined in its parent class 'vtkStandardPolyDataPainter'.

Rendering/OpenGL/vtkXRenderWindowInteractor.h:198: warning: The class 'vtkXRenderWindowTclInteractor' defines member variable with name 'Internal' also defined in its parent class 'vtkXRenderWindowInteractor'.

Views/Infovis/vtkRenderView.h:289: warning: The class 'vtkGraphLayoutView' defines member variable with name 'Interacting' also defined in its parent class 'vtkRenderView'.

Views/Infovis/vtkRenderedRepresentation.h:96: warning: The class 'vtkRenderedTreeAreaRepresentation' defines member variable with name 'Implementation' also defined in its parent class 'vtkRenderedRepresentation'.





More information about the vtk-developers mailing list