Re: errors building itcl with tcl8.5



impm001@xxxxxxxxx wrote:

Hi all,

I am trying to build itcl3.2.1 with tcl/tk8.5.0( open source
downloaded from sourceforge.net), and it is giving build errors.
Looks like the some struct definitions( Var, TclVarHashTable in
tclInt.h)has changed in tcl8.5, and the itcl code is still looking for
the way these were defined in tcl8.4.13.

Some of these errors are:
..\generic\itcl_class.c(522) : error C2039: 'refCount' : is not a
member of 'Var'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(528) : see declaration
of 'Var'
..\generic\itcl_class.c(533) : warning C4133: 'function' :
incompatible types - from 'Tcl_HashTable *' to 'TclVarHashTable *'
..\generic\itcl_class.c(1105) : error C2039: 'name' : is not a member
of 'Var'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(528) : see declaration
of 'Var'
..\generic\itcl_class.c(1124) : error C2039: 'findProc' : is not a
member of 'TclVarHashTable'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(203) : see declaration
of 'TclVarHashTable'
..\generic\itcl_class.c(1424) : error C2039: 'findProc' : is not a
member of 'TclVarHashTable'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(203) : see declaration
of 'TclVarHashTable'

itcl_migrate.c
..\generic\itcl_migrate.c(131) : error C2039: 'name' : is not a member
of 'Var'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(528) : see declaration
of 'Var'
..\generic\itcl_migrate.c(132) : error C2039: 'nsPtr' : is not a
member of 'Var'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(528) : see declaration
of 'Var'
..\generic\itcl_migrate.c(133) : error C2039: 'hPtr' : is not a member
of 'Var'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(528) : see declaration
of 'Var'
..\generic\itcl_migrate.c(134) : error C2039: 'refCount' : is not a
member of 'Var'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(528) : see declaration
of 'Var'
..\generic\itcl_migrate.c(135) : error C2039: 'tracePtr' : is not a
member of 'Var'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(528) : see declaration
of 'Var'
..\generic\itcl_migrate.c(136) : error C2039: 'searchPtr' : is not a
member of 'Var'
<mysbx>/tcl/tcl8.5.0\generic\tclInt.h(528) : see declaration
of 'Var'
..\generic\itcl_migrate.c(137) : error C2065: 'VAR_SCALAR' :
undeclared identifier
..\generic\itcl_migrate.c(137) : error C2065: 'VAR_UNDEFINED' :
undeclared identifier
itcl_methods.c
..\generic\itcl_methods.c(1163) : error C2065: 'VAR_SCALAR' :
undeclared identifier
..\generic\itcl_methods.c(1875) : error C2065: 'VAR_UNDEFINED' :
undeclared identifier

Does anyone know if there is a patch available, or this is fixed
somewhere?

Thanks,
Mona.
you can only use itcl 3.4 to build with tcl 8.5.x, as there have been a lot
of source adaptions in itcl for that.

Arnulf (apw)
.



Relevant Pages

  • Re: extend class question
    ... var myVar1; ... class Administrator extends Member() { ... >>or would i be best just creating an instance of the admin class right from ...
    (alt.php)
  • Re: strange anomalies when using an iteration variable twice in 1 function
    ... > As the code shows 'i' was also a member of uservarsand was therefore ... while editing hovering the cursor shows the correct variable ... incorrectly shows the local variable otherwise known as var unit1.i ... and declarations are not available. ...
    (alt.comp.lang.borland-delphi)
  • whats wrong in the member dydt in methods?
    ... I wrote a code with Javascript and I am annoyed by the member 'dydt' ... called from the member 'rk2'. ... var alpha = 0.5 / gamma; ...
    (comp.lang.javascript)
  • Re: Instancing local objects using JSON notation
    ... I have a problem defining member as instance of local object (function) ... var Abc = function{ ... I can define local member as new global object but I ...
    (microsoft.public.scripting.jscript)
  • Re: Instancing local objects using JSON notation
    ... I have a problem defining member as instance of local object (function) ... var Abc = function{ ... I can define local member as new global object but I would ...
    (microsoft.public.scripting.jscript)