netcdf-c/libdap2
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
..
obsolete Follow-up trivial typos 2018-04-26 23:04:01 -04:00
cache.c Follow-up trivial typos 2018-04-26 23:04:01 -04:00
cdf.c Code duplicated; merge failure? 2018-05-18 20:28:51 -06:00
CMakeLists.txt Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
common.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
constraints.c Follow-up trivial typos 2018-04-26 23:04:01 -04:00
constraints.h
cvt
dapattr.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
dapcvt.c Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
dapdebug.c The files libdispatch/dwinpath.c and include/ncwinpath.h 2017-07-13 10:40:07 -06:00
dapdebug.h Turn off debug noise 2017-07-14 15:32:17 -06:00
dapdump.c Fix more memory leaks in netcdf-c library 2018-11-15 10:00:38 -07:00
dapdump.h Fix more memory leaks in netcdf-c library 2018-11-15 10:00:38 -07:00
dapincludes.h Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
dapnc.h
dapodom.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
dapodom.h
daputil.c Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
daputil.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dce.y
dceconstraints.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dceconstraints.h
dcelex.c
dceparse.c re: github issues 2018-10-30 20:48:12 -06:00
dceparselex.h A couple of people have reported that 2016-07-11 14:11:20 -06:00
dcetab.c A netcdfgroup email 2016-06-24 15:28:50 -06:00
dcetab.h A netcdfgroup email 2016-06-24 15:28:50 -06:00
env ckp 2017-03-11 15:20:20 -07:00
getvara.c This is the second step in refactoring the libsrc4 code. 2018-02-24 20:36:24 -07:00
getvara.h
main.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Makefile.am Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
nccommon.h Fix more memory leaks in netcdf-c library 2018-11-15 10:00:38 -07:00
ncd2dispatch.c re: github issues 2018-10-30 20:48:12 -06:00
ncd2dispatch.h Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
ncdap.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncdapa.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncdaperr.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test1.sh
test_vara.c Fix the NC_INMEMORY code to work in all cases with HDF5 1.10. 2018-09-04 11:27:47 -06:00
todo
translation.html