error: 'vtkCharArray' was not declared in this scope
Trying to build VTK 7.1 for Fedora rawhide on ppc64le I get:
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:19:28: error: 'vtkCharArray' was not declared in this scope
int vtkCharArrayCppCommand(vtkCharArray *op, Tcl_Interp *interp,
^~~~~~~~~~~~
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:19:42: error: 'op' was not declared in this scope
int vtkCharArrayCppCommand(vtkCharArray *op, Tcl_Interp *interp,
^~
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:19:57: error: expected primary-expression before '*' token
int vtkCharArrayCppCommand(vtkCharArray *op, Tcl_Interp *interp,
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:19:58: error: 'interp' was not declared in this scope
int vtkCharArrayCppCommand(vtkCharArray *op, Tcl_Interp *interp,
^~~~~~
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:20:14: error: expected primary-expression before 'int'
int argc, char *argv[]);
^~~
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:20:24: error: expected primary-expression before 'char'
int argc, char *argv[]);
^~~~
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:20:36: error: expression list treated as compound expression in initializer [-fpermissive]
int argc, char *argv[]);
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx: In function 'int vtkTypeInt8ArrayCppCommand(vtkTypeInt8Array*, Tcl_Interp*, int, char**)':
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:64:46: error: 'vtkCharArray' does not name a type
if (vtkCharArrayCppCommand(static_cast<vtkCharArray *>(op),interp,argc,argv) == TCL_OK)
^~~~~~~~~~~~
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:64:59: error: expected '>' before '*' token
if (vtkCharArrayCppCommand(static_cast<vtkCharArray *>(op),interp,argc,argv) == TCL_OK)
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:64:59: error: expected '(' before '*' token
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:64:60: error: expected primary-expression before '>' token
if (vtkCharArrayCppCommand(static_cast<vtkCharArray *>(op),interp,argc,argv) == TCL_OK)
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:64:93: error: 'vtkCharArrayCppCommand' cannot be used as a function
if (vtkCharArrayCppCommand(static_cast<vtkCharArray *>(op),interp,argc,argv) == TCL_OK)
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:65:7: error: expected ')' before '{' token
{
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:68:5: error: expected primary-expression before '}' token
}
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:161:47: error: 'vtkCharArrayCppCommand' cannot be used as a function
vtkCharArrayCppCommand(op,interp,argc,argv);
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:186:47: error: 'vtkCharArrayCppCommand' cannot be used as a function
vtkCharArrayCppCommand(op,interp,argc,argv);
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:203:66: error: 'vtkCharArrayCppCommand' cannot be used as a function
SuperClassStatus = vtkCharArrayCppCommand(op,interp,argc,argv);
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:315:42: error: 'vtkCharArray' does not name a type
if (vtkCharArrayCppCommand(static_cast<vtkCharArray *>(op),interp,argc,argv) == TCL_OK)
^~~~~~~~~~~~
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:315:55: error: expected '>' before '*' token
if (vtkCharArrayCppCommand(static_cast<vtkCharArray *>(op),interp,argc,argv) == TCL_OK)
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:315:55: error: expected '(' before '*' token
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:315:56: error: expected primary-expression before '>' token
if (vtkCharArrayCppCommand(static_cast<vtkCharArray *>(op),interp,argc,argv) == TCL_OK)
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:315:89: error: 'vtkCharArrayCppCommand' cannot be used as a function
if (vtkCharArrayCppCommand(static_cast<vtkCharArray *>(op),interp,argc,argv) == TCL_OK)
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:316:3: error: expected ')' before '{' token
{
^
/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:319:3: error: expected primary-expression before '}' token
}
^
make[2]: *** [Common/Core/CMakeFiles/vtkCommonCoreTCL.dir/build.make:3063: Common/Core/CMakeFiles/vtkCommonCoreTCL.dir/vtkTypeInt8ArrayTcl.cxx.o] Error 1
Full build log: https://copr-be.cloud.fedoraproject.org/results/orion/vtk7/fedora-rawhide-ppc64le/00481463-vtk/build.log.gz