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.
Thanks for pointing it out. > > I installed the latest netcdf-c-4.6.1 (on my openSUSE Leap 42.3) and > everthing went smoothly. When compiling my own C-code (using gcc version > 4.8.5 (SUSE Linux)) that includes netcdf.h I get the following warning: > > /lib/build/include/netcdf.h:1961:1: error: function declaration isn't a > prototype [-Werror=strict-prototypes] > nc_finalize(); > ^ > cc1: all warnings being treated as errors > > In netcdf.h I changed line 1961 > from nc_finalize(); to nc_finalize(void); > to resolve the error message. > > Perhaps you might want to fix that. > > Kind regards, > Sabine Grießbach > > > =Dennis Heimbigner Unidata Ticket Details =================== Ticket ID: HYV-329576 Department: Support netCDF Priority: Normal Status: Closed =================== 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.