Inconsistent building error "error: expected a ";" "

Please try with the last release of VTK, v9.4.2 or v9.5.0-rc1