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

20010426: complilation of netcdf under HP-UX 11.0



Virginia,

> To: address@hidden
> From: Virginia Norling <address@hidden>
> Subject: complilation of netcdf under HP-UX 11.0
> Organization: UCAR/Unidata
> Keywords: 200104270121.f3R1LjL05402

The above message contained the following:

> I recently compiled and installed netcdf on an N4000-55 machine running
> HP-UX 11.0.  After a few tweaks it compiled and ran the tests fine.
> The install complained about not being able to make netcdf.mod in the
> f90 directory so I copied NETCDF.mod to netcdf.mod and after installation
> made a symbolic link from NETCDF.mod netcdf.mod (just in case something
> is expecting to find NETCDF.mod).
> 
> The biggest worry of the process was the error generated when compiling
> netcdfcpp.h:
> 
> Error (future) 370: "netcdfcpp.h", line 360 # The friend declaration is not 
> in the correct form 
> for either a function or a class. Perhaps you meant 'friend class NcFile;'.
>       friend NcFile;
>       ^^^^^^^^^^^^^^
> 
> Should the code be changed?

Possibly.  We have to see if changing it will cause problems with other
C++ compilers.  In the meantime, this issue has been added to the "known
problems" section of the netCDF web page at

    http://www.unidata.ucar.edu/packages/netcdf/known_problems.html

> Thanks for your help - info is appended.
> 
> Virginia Norling.
...

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