comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: What is this error message about?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: What is this error message about? [message #39270] Mon, 10 May 2004 13:02 Go to next message
Stein Vidar Hagfors H[2] is currently offline  Stein Vidar Hagfors H[2]
Messages: 28
Registered: October 2002
Junior Member
"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
------------------------------------------------------------ --------------
Re: What is this error message about? [message #39412 is a reply to message #39270] Mon, 10 May 2004 13:24 Go to previous message
Haje Korth is currently offline  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
> ------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: forcing scroll bars in widget_draw
Next Topic: Re: Call_External - memory problems?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 00:02:02 PDT 2025

Total time taken to generate the page: 0.01223 seconds