netcdf-c/libdap4
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
..
CMakeLists.txt Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
d4bytes.c
d4bytes.h
d4chunk.c This is the initial step in moving to the new higher performance 2018-02-08 19:53:40 -07:00
d4chunk.h
d4crc32.c Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
d4curlflags.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
d4curlfunctions.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
d4curlfunctions.h Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
d4cvt.c
d4data.c Fix more memory leaks in netcdf-c library 2018-11-15 10:00:38 -07:00
d4debug.c Fix more memory leaks in netcdf-c library 2018-11-15 10:00:38 -07:00
d4debug.h
d4dump.c 1. Keep up to date by merging master 2018-01-16 11:00:09 -07:00
d4file.c re: github issues 2018-10-30 20:48:12 -06:00
d4fix.c Follow-up trivial typos 2018-04-26 23:04:01 -04:00
d4http.c Follow-up trivial typos 2018-04-26 23:04:01 -04:00
d4http.h
d4includes.h Fix build on pre-C99 compilers 2017-11-26 01:47:54 +05:30
d4mem.c Fix more memory leaks in netcdf-c library 2018-11-15 10:00:38 -07:00
d4meta.c Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
d4odom.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
d4odom.h
d4parser.c re: github issues 2018-10-30 20:48:12 -06:00
d4printer.c
d4read.c re: github issues 2018-10-30 20:48:12 -06:00
d4read.h
d4swap.c Follow-up trivial typos 2018-04-26 23:04:01 -04:00
d4util.c Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
d4util.h
d4varx.c re: github issues 2018-10-30 20:48:12 -06:00
ezxml_extra.c
ezxml.c Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
ezxml.h Follow-up trivial typos 2018-04-26 23:04:01 -04:00
Makefile.am Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
ncd4.h re: github issues 2018-10-30 20:48:12 -06:00
ncd4dispatch.c Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
ncd4dispatch.h Ignore flags NC_MPIIO and NC_MPIPOSIX. 2018-09-22 20:22:34 -05:00
ncd4types.h re: github issues 2018-10-30 20:48:12 -06:00