MantisBT - ParaView
View Issue Details
0012881ParaView(No Category)public2012-01-27 12:572016-08-12 09:59
Orion Poplawski 
Kitware Robot 
normalminorhave not tried
closedmoved 
3.12 
 
TBD
incorrect functionality
0012881: Compile errors with gcc 4.7
/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.
No tags attached.
patch paraview-gcc47.patch (535) 2012-01-27 12:57
https://www.vtk.org/Bug/file/9108/paraview-gcc47.patch
patch paraview-gcc47-v2.patch (1,209) 2012-02-02 18:30
https://www.vtk.org/Bug/file/9110/paraview-gcc47-v2.patch
Issue History
2012-01-27 12:57Orion PoplawskiNew Issue
2012-01-27 12:57Orion PoplawskiFile Added: paraview-gcc47.patch
2012-02-02 18:30Orion PoplawskiFile Added: paraview-gcc47-v2.patch
2012-02-02 18:31Orion PoplawskiNote Added: 0028021
2016-08-12 09:59Kitware RobotNote Added: 0038130
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0028021)
Orion Poplawski   
2012-02-02 18:31   
Going with:

  ClearAndSelect = static_cast<int>(Clear) | static_cast<int>(Select)

for the second error for now. It compiles at least.
(0038130)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.