Hello,
I have found another error in ParaView 5.8.0-RC1 in the ParallelDIY2 Filter file vtkGenerateGlobalIds.cxx when compiled with gcc 4.8.5 on RHEL 7.7.
Here is the error
[ 72%] Generating client_server wrapper sources for vtkPConnectivityFilter
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx: In instantiation of ‘impl::GenerateIds(vtkDataObject*, vtkGenerateGlobalIds*, bool) [with ElementBlockT = {anonymous}::BlockT<{anonymous}::PointTT>]::__lambda7’:
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:158:19: required from ‘struct impl::GenerateIds(vtkDataObject*, vtkGenerateGlobalIds*, bool) [with ElementBlockT = {anonymous}::BlockT<{anonymous}::PointTT>]::__lambda7’
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:159:59: required from ‘bool impl::GenerateIds(vtkDataObject*, vtkGenerateGlobalIds*, bool) [with ElementBlockT = {anonymous}::BlockT<{anonymous}::PointTT>]’
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:710:67: required from here
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:438:8: error: conversion from ‘std::nullptr_t’ to non-scalar type ‘vtkSmartPointer’ requested
struct BlockT
^
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:438:8: error: conversion from ‘std::nullptr_t’ to non-scalar type ‘vtkSmartPointer’ requested
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:158:71: note: synthesized method ‘{anonymous}::BlockT<{anonymous}::PointTT>::BlockT()’ first required here
comm, 1, -1, { return static_cast<void*>(new ElementBlockT); },
^
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx: In instantiation of ‘struct impl::GenerateIds(vtkDataObject*, vtkGenerateGlobalIds*, bool) [with ElementBlockT = {anonymous}::BlockT<{anonymous}::PointTT>]::__lambda8’:
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:159:59: required from ‘bool impl::GenerateIds(vtkDataObject*, vtkGenerateGlobalIds*, bool) [with ElementBlockT = {anonymous}::BlockT<{anonymous}::PointTT>]’
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:710:67: required from here
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/VTK/Filters/ParallelDIY2/vtkGenerateGlobalIds.cxx:159:6: error: use of ‘impl::GenerateIds(vtkDataObject*, vtkGenerateGlobalIds*, bool) [with ElementBlockT = {anonymous}::BlockT<{anonymous}::PointTT>]::__lambda8’ before deduction of ‘auto’
[](void* b) { delete static_cast<ElementBlockT*>(b); });
^
The code causing the error was added by this commit
Commit fd2d5f95
authored 2 months ago by Utkarsh Ayachit
Options
vtkGenerateGlobalIds: make ids geometry independent
Thanks,
Joe Hennessey