Larry,

metakit 2.4.9.3 and Tcl/Tk 8.4.7

I'm having a bit of a problem:

$ configure --prefix=/usr/tcl84 --enable-shared --enable-symbols --with-tcl
{lots of stuff output - can email if desirable}
$ make all
{a lot more output}


CC -c -g -I../unix/../include -I/usr/tcl84/include/generic -I/usr/tcl84/include ../unix/../tcl/mk4tcl.cpp -KPIC -DPIC

{a lot of warnings}

"../unix/../tcl/mk4tcl.cpp", line 415: Error: Cannot cast from c4_LongRef to long long.
"../unix/../tcl/mk4tcl.cpp", line 490: Error: Cannot assign long long to c4_LongRef without "c4_LongRef::operator=(const c4_LongRef&)";.

If these are the only fatal errors, I suggest you try the following:

Change line 415 to:
      Tcl_SetWideIntObj(obj_, (t4_i64) (((c4_LongProp&) prop_) (row_)));

And line 490 to:
          ((c4_LongProp&) prop_) (row_) = (t4_i64) value;

If that doesn't work, then there may be some weirdness w.r.t. 64-bitness and int/long casts which I cannot diagnose further without access to a setup like yours (it would be great if someone else can). The option you have left in that case, is to fully disable Tcl's "wide" (8-byte) ints in the Mk4tcl interface, by replacing
#ifdef TCL_WIDE_INT_TYPE
with
#if 0
on source lines 413 and 484.


-jcw

_____________________________________________
Metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to