From: Jean-Claude Wippler <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed

>> "../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.

Just an update.  After making the first changes you suggest, I end up with:
"../unix/../tcl/mk4tcl.cpp", line 415: Error: Cannot cast from t4_i64 to long long.
"../unix/../tcl/mk4tcl.cpp", line 490: Error: Cannot cast from long long to t4_i64.
2 Error(s) and 49 Warning(s) detected.

I wonder if there is some special compile flags that I need.  

I could disable the 64 bit, but then that limits the application uses ; perhaps
I will wait and see if anyone on the list has any other suggestions first.

Has no one built a tclkit for sparc solaris using the latest metakit and Sun's 
compiler?
-- 
Tcl - The glue of a new generation.  <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:[EMAIL PROTECTED]> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-
_____________________________________________
Metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to