Richard, > To: address@hidden > From: Richard Anyah <address@hidden> > Subject: UDUNITS > Organization: North Carolina State University > Keywords: 200307021714.h62HEZLd014754 The above message contained the following: > I have custom-installed UDUNITS LIB in an IBM computer( NCAR's > Blackforest), but while I do not get any error during installation, when > I include the udunits.inc I get the errors pointing to the following > parts of the udunits.inc: > > > # ifndef PTR > # define PTR integer > # endif > .. > PTR utmake > ... > integer uttime What do you mean that you "get the errors pointing to the following parts of the udunits.inc"? The routine utmake() returns a pointer to a newly-allocated unit structure. The receiving Fortran variable must be large enough to hold this pointer. It sounds like the definition of PTR is insufficient for the task. What Fortran primitive type is equivalent to a C pointer on Blackforest? Regards, Steve Emmerson
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.