Include <limits>
Trying to build VTK 9.0.1 on latest Fedora Rawhide I get:
home/orion/fedora/vtk/VTK-9.0.1/Common/Core/vtkGenericDataArrayLookupHelper.h:52:26: error: 'numeric_limits' is not a member of 'std'
52 | return has_NaN<T, std::numeric_limits<T>::has_quiet_NaN>::isnan(x);
| ^~~~~~~~~~~~~~
/home/orion/fedora/vtk/VTK-9.0.1/Common/Core/vtkGenericDataArrayLookupHelper.h:52:26: error: 'numeric_limits' is not a member of 'std'
/home/orion/fedora/vtk/VTK-9.0.1/Common/Core/vtkGenericDataArrayLookupHelper.h:52:42: error: template argument 2 is invalid
52 | return has_NaN<T, std::numeric_limits<T>::has_quiet_NaN>::isnan(x);
| ^
Edited by Orion Poplawski