[vtk-developers] VTK_LEGACY =>invalid redeclaration of nested class and 2952d8f7bce83e318a233048606b14997b4991a1

Eric Chamberland Eric.Chamberland at giref.ulaval.ca
Mon Jan 14 10:17:58 EST 2013


Hi,

I have activated |VTK_LEGACY_REMOVE to remove all the warnings about 
strstreams.

Now I have this warning from Intel compiler:
|
icpc -o ...

  /opt/VTK/include/vtk-5.10/vtkActor.h(158): warning #1170: invalid 
redeclaration of nested class
     VTK_LEGACY(virtual vtkActor *GetNextPart());
     ^

  /opt/VTK/include/vtk-5.10/vtkActor.h(159): warning #1170: invalid 
redeclaration of nested class
     VTK_LEGACY(virtual int GetNumberOfParts());
     ^

|
So there is a problem with the VTK_LEGACY #define, when more than 1 
method is suppressed...

I took a look at 5.10.1 and the code still there....

I took a look at your git repositoy, and this commit cleans the code:

2952d8f7bce83e318a233048606b14997b4991a1

But it is not in 5.10.0 nor in 5.10.1 even if it is very older than the 
two releases...

It has been forgiven or it cannot be included in the release ???

Thanks,

Eric



More information about the vtk-developers mailing list