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

Re: C++



>To: address@hidden
>From: "V. Lakshmanan" <address@hidden>
>Subject: Re: 20021114: C++
>Organization: NOAA/NSSL
>Keywords: C++ fixes

Hi Lak,

> there were several problems with the C++ interface
> when compiling with gcc 3.2 (Red Hat 8.0).
> I've fixed them.

Thanks!  Are your fixes to netcdf-3.5.0 or to one of the later beta
releases such as netcdf-3.5.1-beta5.tar.Z.  The latter is supposed to
work with gcc 3.2 on RedHat 8.0, so may already address the problems
you've patched.

> The only ugly fix is to the as_string() method,
> since ostringstream now returns a std::string,
> but I retained the older interface since clients
> are probably relying on it ... perhaps you should
> deprecate that and provide a second method
> which will return a string instead of a char*.
> 
> The changed files are attached.

--Russ