netcdf-c/include
Dennis Heimbigner 1a7531392f Make the netcdf-c library compile with gcc -ansi.
Primary fixes to get -ansi to work.
1. Convert all '//' C++ style comments to /*...*/ or to use #if 0...#endif
2. It turns out that when -ansi is specified, then a number of
   functions no longer are defined in the header -- but they are still
   in the .so file.<br>
   The big example is strdup(). So, added code to include/ncconfig.h to define
   externs for those missing functions that occur in more than one place.
   These are enabled if !_WIN32 && __STDC__ == 1 (__STDC__ is supposed to
   be the equivalent compile time flag to -ansi). Note that this requires
   config.h (which references ncconfig.h) to be included in files where it is
   currently not included. Single uses will be only in the file that uses them.
3. Added mmap test for the MAP_ANONYMOUS flag to configure.ac. Apparently
   this is not always defined with -ansi.
4. fix some large integer constants in nc_test4/tst_atts3.c and nc_test4/tst_filterparser.c
   to avoid compiler complaints.
5. fix a double constant in nc_test4/tst_filterparser.c to avoid compiler complaints.

[Note I suspect #4 and #5 will be a problem on big-endian machines, but we have no way to test]

Misc. Changes:
1. convert more instances of _MSC_VER to _WIN32.
2. added some debugging code to include/nctestserver.h
3. added comment about libdispatch/drc.c always being compiled.
4. modify parser generation in ncgen to remove unneeded files.
2018-12-05 19:20:43 -07:00
..
.gitignore
ceconstraints.h
CMakeLists.txt re: github issues 2018-10-30 20:48:12 -06:00
err_macros.h getting parallel benchmarks to work, cleanup of benchmark scripts 2018-08-24 08:59:58 -06:00
fbits.h
hdf4dispatch.h add a missed update to NC_HDF4_open 2018-09-23 01:36:50 -05:00
hdf5dispatch.h cleanup 2018-11-26 11:22:32 -07:00
hdf5internal.h rename HDF5 dispatch functions to start with NC4_HDF5 2018-11-26 08:13:57 -07:00
Makefile.am Merge branch 'ejh_next_17' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into pr-aggregation.wif 2018-11-28 13:28:26 -07:00
nc3dispatch.h Ignore flags NC_MPIIO and NC_MPIPOSIX. 2018-09-22 20:22:34 -05:00
nc3internal.h This Pre removed #include <netcdf.h> from netcdf_mem.h. 2018-10-07 12:05:26 -06:00
nc4dispatch.h rename HDF5 dispatch functions to start with NC4_HDF5 2018-11-26 08:13:57 -07:00
nc4internal.h Merge branch 'ejh_next_17' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into pr-aggregation.wif 2018-11-28 13:28:26 -07:00
nc_hashmap.h
nc_logging.h only define nc_set_log_level() to nothing for netcdf-4 builds 2018-07-16 13:47:18 -06:00
nc_provenance.h Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
nc_tests.h fixed many benchmark warnings 2018-08-23 08:21:55 -06:00
nc.h Improve parallel create/open mode logic. 2018-09-17 17:18:48 -05:00
ncauth.h
ncbytes.h
ncconfigure.h Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
ncdap.h Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
ncdimscale.h changes in support of separating HDF5 and libsrc4 2018-11-26 04:31:23 -07:00
ncdispatch.h Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
ncexternl.h
ncfilter.h
nchashmap.h changes in support of separating HDF5 and libsrc4 2018-11-26 04:31:23 -07:00
ncindex.h
nclist.h
nclog.h Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
ncoffsets.h Fixed a whitespace issue that occurs on OSX. 2018-11-16 15:08:17 -07:00
ncrc.h Revert/Improve nc_create + NC_DISKLESS behavior 2018-10-10 13:32:17 -06:00
nctestserver.h Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
nctime.h
ncuri.h Made some changes to export symbols on Windows builds. 2018-08-02 14:58:47 -06:00
ncutf8.h
ncwinpath.h Fix the NC_INMEMORY code to work in all cases with HDF5 1.10. 2018-09-04 11:27:47 -06:00
netcdf_aux.h Fix more memory leaks in netcdf-c library 2018-11-15 10:00:38 -07:00
netcdf_f.h
netcdf_mem.h Remove unneeded include of netcdf.h from netcdf_mem.h 2018-09-23 14:16:45 -06:00
netcdf_meta.h.in Use PnetCDF instead of parallel-netcdf to avoid confusion with 2018-09-17 17:18:48 -05:00
netcdf_par.h
netcdf.h Revert/Improve nc_create + NC_DISKLESS behavior 2018-10-10 13:32:17 -06:00
onstack.h
rnd.h
XGetopt.h