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

Re: 200104125: Minor typo corrections to netcdf 3.5



>From: Morten Pedersen <address@hidden>
>Organization: ?
>Keywords: 200104251115.f3PBFIL06192 netCDF 3.5

Hi Morten,

> A few compile/build glitches with netcdf 3.5
> 
> The Visual Age 5.0 compiler for AIX 4.3
> warns about the three lines in netcdfcpp.h saying
>   friend NcFile;
> 
> it prefers
> 
>   friend class NcFile;
> 
> which I guess is what was the intention.
>
> Note the code from the beta vesions, had each Member functions
> declared as friends. VA liked that even less (then it wasnt warnings
> but errors that popped out of teh compiler.

Yes, thanks for reporting this.  The other C++ compilers we have
access to don't even warn about this.  I'll have to check that the
stricter syntax works with all of them too, but if it does, I'll
incorporate your fix into the next minor release.  In the meantime,
I've added an entry about this in our "Known Problems with the netCDF
3.5.0 Distribution" at

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

I'm forwarding your second question to Steve Emmerson, in case he
knows how to handle it:

> On the build side of things:
>         If I build a library as a normal user on somere mote NFS permssion
>         i run ito the following problem at install time.
> 
>         1) If I install in say for instance /usr/local I do not get
>            permission to do that (fair enough
>         2) Then if I su and become  root, I have the permssion
>            to install the files in /usr/local, but as the install procedure
>            creates the libs locally I now run into access problems on the NFS
> partition
>            as root on my machine is seen as nobody on the Server. I belive 
> this
> is fairly normal
>            NFS setup.
> 
>         Number 1 is as it should be. 2 is triggered by a FORCE on LIBRARY
> dependcy line
>         in rules.make. Is that really needed... just curious. I would be
> happier if the archive
>         was only updated when needed. (It's OK if everything is reachived if
> one file changes)
>
> Well hope this is to some help, none of things above are super critical,
> but at least you know about them now
> 
> regards
> 
>  -Morten Pedersen