[Insight-users] CableSWIG & ITK via Borland ?

Dean Inglis dean.inglis at camris.ca
Mon, 16 Feb 2004 11:33:28 -0500


Hi Brad,

I tried compiling CableSwig when sourced in ITK/Utilities
as instructed but stopped short early on with

Building object file parser.obj...
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
c:\Builder\Sources\Insight\Utilities\CableSwig\SWIG\Source\CParse\parser.c:
Warning W8004 parser.y 239: 'rn' is assigned a value that is never used in
function make_name
Warning W8004 parser.y 282: 'rn' is assigned a value that is never used in
function name_warning
Warning W8004 parser.y 556: 'nname' is assigned a value that is never used
in function make_class_name
Warning W8004 parser.y 1995: 'tnode' is assigned a value that is never used
in function yyparse
Warning W8004 parser.y 2478: 'pp' is assigned a value that is never used in
function yyparse
Warning W8004 /usr/local/share/bison.simple 225: 'yychar1' is assigned a
value that is never used in function yyparse
Error E2356 parser.y 4543: Type mismatch in redeclaration of 'yyerror'
Error E2344 parser.y 35: Earlier declaration of 'yyerror'
*** 2 errors in Compile ***

Also, ITK shared libs are not currently supported for the Borland compiler,
I think, so doesn't
this preclude the wrapping anyway?

Dean