VTK interface breaks for VTK 7.1

Issue #794 resolved
Prof Garth Wells created an issue

Here's the error message:

/Users/garth/code/fenics/dev/dolfin.d/dolfin-1/dolfin/plot/VTKWindowOutputStage.cpp:88:18: error: 'OnKeyPress' overrides
      a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
    virtual void OnKeyPress()
                 ^
/usr/local/Cellar/vtk/7.1.0_1/include/vtk-7.1/vtkInteractorStyle.h:244:16: note: overridden virtual function is here
  virtual void OnKeyPress() {}
               ^
/Users/garth/code/fenics/dev/dolfin.d/dolfin-1/dolfin/plot/VTKWindowOutputStage.cpp:96:18: error: 'OnChar' overrides a
      member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
    virtual void OnChar()
                 ^
/usr/local/Cellar/vtk/7.1.0_1/include/vtk-7.1/vtkInteractorStyle.h:229:16: note: overridden virtual function is here
  virtual void OnChar();
               ^
/Users/garth/code/fenics/dev/dolfin.d/dolfin-1/dolfin/plot/VTKWindowOutputStage.cpp:145:17: error: 
      'SubclassEndHoverAction' overrides a member function but is not marked 'override'
      [-Werror,-Winconsistent-missing-override]
    virtual int SubclassEndHoverAction()
                ^
/usr/local/Cellar/vtk/7.1.0_1/include/vtk-7.1/vtkBalloonWidget.h:181:15: note: overridden virtual function is here
  virtual int SubclassEndHoverAction();

Comments (1)

  1. Log in to comment