| Re: What is this error message about? [message #39412 is a reply to message #39270] |
Mon, 10 May 2004 13:24  |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
Stein,
yes, this is the solution to the problem!
Thanks,
Haje
"Stein Vidar Hagfors Haugan" <steinhh@astro.uio.no> wrote in message
news:xmzhduot5iy.fsf@esa.nascom.nasa.gov...
> "Haje Korth" <haje.korth@jhuapl.edu> writes:
>
>> Hi all,
>> I have been doing some DLM programming, and I get the error message "%
>> Temporary variables are still checked out - cleaning up..." whenever I
use
>> the functions IDL_CvtDbl or IDL_BasicTypeConversion in my C routine
below.
>> While the error does not seem to affect execution of the routines, the
>> message tells me that the programming is not clean. The question is
whether
>> I am doing something wrong or whether this is a bug in IDL? The error
only
>> occurs if the type is actually converted. If input array is double, the
>> message does not show. Your input is appreciated.
>> Thanks,
>> Haje
>
> In code produced with my dlmform program, I see that calls corresponding
> to e.g.
>
> n = IDL_CvtLng(1,&argv[2]) /* May cause n to be tmp */
>
> is followed with
>
> if (n != argv[2]) IDL_DELTMP(n);
>
> just before the return of the function. So, I think what IDL is
complaining
> about is that you haven't explicitly deleted the temporary variables
(which
> may or may not be created in the conversion calls).
>
> IDL is doing it for you, but it's not very happy about it! Bug, feature,
> sanity check, call it what you want. My guess is that it's a QA thing for
> their own programmers, really.
>
> --
> ------------------------------------------------------------ --------------
> Stein Vidar Hagfors Haugan
> ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO
>
> NASA Goddard Space Flight Center, Tel.: 1-301-286-9028
> Mail Code 682.3, Bld. 26, Room G-1, Cell: 1-240-354-6066
> Greenbelt, Maryland 20771, USA. Fax: 1-301-286-0264
> ------------------------------------------------------------ --------------
|
|
|
|