Hi, in order to compile v9.0.3 on ArchLinux with GCC 11.1.0 I had to add #include <limits>
in the following files:
Common/Core/vtkGenericDataArray.h
Common/Core/vtkGenericDataArrayLookupHelper.h
Common/DataModel/vtkPiecewiseFunction.cxx
Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
Rendering/Core/vtkColorTransferFunction.cxx
The compilation otherwise fails with errors such as:
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);