espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo] Tcl8.5 and uwerr


From: Axel Arnold
Subject: Re: [ESPResSo] Tcl8.5 and uwerr
Date: Tue, 5 May 2009 15:58:25 +0200
User-agent: KMail/1.7.1

Am Dienstag 05 Mai 2009 10:50 schrieb Olaf Lenz:
> Hello all!
>
> Out of so far unknown reasons, the "uwerr" function of Espresso does not
> work when using Tcl8.5. Until this is fixed, you have to use Tcl8.4 or
> 8.3 if you want to use uwerr.
> Is anybody willing to debug the problem?

Yes, is done. The problem was, that the uwerr code directly accessed 
"interp->result" to obtain a string representation of the result of a 
Tcl-function. That is deprecated since at least 2003, and now with Tcl 8.5 
finally really doesn't work anymore. The correct way to obtain this string is 
to use Tcl_GetStringResult(interp).

Axel

-- 
Dr. Axel Arnold 
Fraunhofer SCAI
Schloss Birlinghoven, 53754 Sankt Augustin, Germany
Tel: +49 2241 14 2575



reply via email to

[Prev in Thread] Current Thread [Next in Thread]