This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>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