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

Re: 19990524: problem with UDUNITS: type of PTR



Lianmei,

> To: address@hidden
> From: Lianmei Gao <address@hidden>
> Subject: problem with UDUNITS
> Organization: Rosenstiel School of Marine and Atmospheric Science 
> (RSMAS)/University of Miami
> Keywords: 199905241550.JAA27700

In the above message, you wrote:

> In the header file udunits.inc and the main program, all pointer variables
> are defined as interger*4. I didnot change anything for their use on a DEC
> alpha machine.

I should have said to change the default definition of PTR in file
"lib/udunits.inc" from "integer" to "integer*8" for your system
(rather than to "unsigned long" -- which won't compile because it's
not Fortran).  This assumes that your code includes "udunits.inc" and
declares all pointers to be of type PTR.

--------
Steve Emmerson   <http://www.unidata.ucar.edu>