[vtk-developers] warning for extra semicolon with vtkTypeMacro
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue May 6 14:38:26 EDT 2014
> Do we want
> vtkStandardNewMacro(vtkChartLegend);
> or
> vtkStandardNewMacro(vtkChartLegend)
> To me, the latter makes more sense...
I have always heard people prefer the latter, not entirely sure I know
why. The only problem I have with the latter is that it messes up with
my VIM indentation :). Does anyone know how to overcome that? I doubt
VIM can ever know that it's a macro and hence the missing ";" is not
really missing.
Utkarsh
More information about the vtk-developers
mailing list