# Error in ParaView 5.8.0-RC1 ParallelDIY2 Filter file vtkGenerateGlobalIds.cxx when compiled with gcc 4.8.5 on RHEL 7.7

**URL:** https://discourse.paraview.org/t/error-in-paraview-5-8-0-rc1-paralleldiy2-filter-file-vtkgenerateglobalids-cxx-when-compiled-with-gcc-4-8-5-on-rhel-7-7/3356
**Category:** Development
**Created:** [January 16, 2020, 6:01pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-8-0-rc1-paralleldiy2-filter-file-vtkgenerateglobalids-cxx-when-compiled-with-gcc-4-8-5-on-rhel-7-7/3356 "2020-01-16T18:01:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [January 16, 2020, 6:01pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-8-0-rc1-paralleldiy2-filter-file-vtkgenerateglobalids-cxx-when-compiled-with-gcc-4-8-5-on-rhel-7-7/3356/1 "2020-01-16T18:01:56Z")

</div>

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

1 [Browse files](https://gitlab.kitware.com/vtk/vtk/tree/fd2d5f956057ef131cf8cdfbb545c333e4dab53e)

Options

### vtkGenerateGlobalIds: make ids geometry independent

Thanks,

Joe Hennessey

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [January 16, 2020, 6:42pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-8-0-rc1-paralleldiy2-filter-file-vtkgenerateglobalids-cxx-when-compiled-with-gcc-4-8-5-on-rhel-7-7/3356/2 "2020-01-16T18:42:20Z")

</div>

Thanks for the report, Joe. Rob has a fix for this issue in development at [https://gitlab.kitware.com/vtk/vtk/merge\_requests/6393](https://gitlab.kitware.com/vtk/vtk/merge_requests/6393)

By the way, the GitLab [issue tracker](https://gitlab.kitware.com/paraview/paraview/issues) is the preferred place for these kinds of bug reports.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [January 16, 2020, 6:42pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-8-0-rc1-paralleldiy2-filter-file-vtkgenerateglobalids-cxx-when-compiled-with-gcc-4-8-5-on-rhel-7-7/3356/3 "2020-01-16T18:42:36Z")

</div>

~~Seems like we should add a ctor for `nullptr_t` to `vtkSmartPointer`? @robert.maynard @chuckatkins Thoughts?~~

Nevermind, Cory beat me to the punch 🙂 .

---

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [January 17, 2020, 2:38pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-8-0-rc1-paralleldiy2-filter-file-vtkgenerateglobalids-cxx-when-compiled-with-gcc-4-8-5-on-rhel-7-7/3356/4 "2020-01-17T14:38:22Z")

</div>

Cory,

I have just submitted three more bugs in 5.8.0-RC1 to the issue tracker as you have requested.

[Error when compiling ParaView 5.8.0-RC1 with pqChooseColorPresetReaction.cxx](https://gitlab.kitware.com/paraview/paraview/issues/19591)  
[Error when compiling pqRenderViewSelectionReaction.cxx with ParaView 5.8.0-RC1](https://gitlab.kitware.com/paraview/paraview/issues/19592)  
[Error when compiling pqStandardViewFrameActionsImplementation.cxx with ParaView 5.8.0-RC1](https://gitlab.kitware.com/paraview/paraview/issues/19593)

Thanks,

Joe Hennessey

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [January 17, 2020, 6:08pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-8-0-rc1-paralleldiy2-filter-file-vtkgenerateglobalids-cxx-when-compiled-with-gcc-4-8-5-on-rhel-7-7/3356/5 "2020-01-17T18:08:12Z")

</div>

Thanks, Joe!
