Compile errors with gcc 4.7
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
/builddir/build/BUILD/ParaView-3.12.0/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx: In function 'bool DoFilesExist(const char*, const char*, bool)': /builddir/build/BUILD/ParaView-3.12.0/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx:77:20: error: 'unlink' was not declared in this scope /builddir/build/BUILD/ParaView-3.12.0/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx: In function 'bool TestXDMFConversion(vtkDataObject*, char*)': /builddir/build/BUILD/ParaView-3.12.0/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx:180:19: error: 'unlink' was not declared in this scope
Attached patch fixes this.
Next error is:
In file included from /builddir/build/BUILD/ParaView-3.12.0/Qt/Core/pqAnimationScene.cxx:57:0: /builddir/build/BUILD/ParaView-3.12.0/Qt/Core/pqServerManagerSelectionModel.h:75:30: error: calls to overloaded operators cannot appear in a constant-expression
Not sure of the fix here.