Error building VTK 9.0.3 with Intel(R) C++ Compiler 2021.1
Building VTK 9.0.3 with Intel icx compiler, I get compile error for following constexpr:
constexpr static std::array<vtkFFT::WindowGenerator, vtkTableFFT::MAX_WINDOWING_FUNCTION> WindowingFunctionsList =
{
vtkFFT::HanningGenerator,
vtkFFT::BartlettGenerator,
vtkFFT::SineGenerator,
vtkFFT::BlackmanGenerator,
vtkFFT::RectangularGenerator
};
"D:\VTK\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\VTK\build\Domains\Chemistry\DomainsChemistry.vcxproj" (default target) (86) ->
"D:\VTK\build\Filters\General\FiltersGeneral.vcxproj" (default target) (88) ->
(ClCompile target) ->
D:\VTK\VTK\Filters\General\vtkTableFFT.cxx(58,91): : error : constexpr variable 'WindowingFunctionsList' must be initialized by a constant expression [D:\VTK\build\Filters\General\FiltersGe neral.vcxproj]
0 Warning(s)
1 Error(s)