Commit cd60cac2 authored by Francois Bertel's avatar Francois Bertel
Browse files

COMP:Fixed error about ISO C++ forbids casting between pointer-to-function and...

COMP:Fixed error about ISO C++ forbids casting between pointer-to-function and pointer-to-object by putting back the old-style cast. Site ARRAKIS.kitware. Build Name Win32-cygwin-WrapTCL.
parent 3e7fc0d5
...@@ -848,7 +848,7 @@ void vtkParseOutput(FILE *fp, FileInfo *data) ...@@ -848,7 +848,7 @@ void vtkParseOutput(FILE *fp, FileInfo *data)
/* add the ListInstances method */ /* add the ListInstances method */
fprintf(fp,"\n if (!strcmp(\"ListInstances\",argv[1]))\n {\n"); fprintf(fp,"\n if (!strcmp(\"ListInstances\",argv[1]))\n {\n");
fprintf(fp," vtkTclListInstances(interp,reinterpret_cast<ClientData>(%sCommand));\n",data->ClassName); fprintf(fp," vtkTclListInstances(interp,(ClientData)(%sCommand));\n",data->ClassName);
fprintf(fp," return TCL_OK;\n }\n"); fprintf(fp," return TCL_OK;\n }\n");
/* add the ListMethods method */ /* add the ListMethods method */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment