Vtk 9.3.1 compilation issue with Visual Studio 2022

Yes, for VTK 9.3.1, those are the correct file contents. Your build is breaking on line six according to the error: vtkDepthPeelingPassIntermediateFS.h(6,1)

I don’t know why this build error would happen, since this line has no #if or #endif. I don’t use the Visual Studio IDE, myself, only msbuild and ninja.

Apply the updates to your Visual Studio, perhaps there was a bug that Microsoft has fixed.