netcdf-c/oc2
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
..
auth.html.in Misc. source comment typos 2018-04-26 23:04:01 -04:00
CMakeLists.txt Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
dap.y Fix for github issue https://github.com/Unidata/netcdf-c/issues/310. 2017-06-28 13:51:01 -06:00
daplex.c Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
dapparse.c re: github issues 2018-10-30 20:48:12 -06:00
dapparselex.h Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
dapy.c Fix for github issue https://github.com/Unidata/netcdf-c/issues/310. 2017-06-28 13:51:01 -06:00
dapy.h Fix for Github issue 314. 2016-09-01 22:06:07 -06:00
dodsrc.example move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
Makefile.am Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
oc.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
oc.css Github issue 152: https://github.com/Unidata/netcdf-c/issues/152 2015-11-29 20:38:12 -07:00
oc.h Made some changes to export symbols on Windows builds. 2018-08-02 14:58:47 -06:00
occompile.c upgrade new oc files to nclist/ncbytes 2017-03-17 17:20:02 -06:00
occompile.h move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
occonstraints.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
occurlflags.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
occurlfunctions.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
occurlfunctions.h Merge master and resolve conflicts 2017-10-28 13:57:23 -06:00
ocdata.c upgrade new oc files to nclist/ncbytes 2017-03-17 17:20:02 -06:00
ocdata.h 1. synch with oc lib 2015-03-02 20:26:39 -07:00
ocdatatypes.h move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
ocdebug.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ocdebug.h Made some changes to export symbols on Windows builds. 2018-08-02 14:58:47 -06:00
ocdump.c Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
ocdump.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ochttp.c Fix the NC_INMEMORY code to work in all cases with HDF5 1.10. 2018-09-04 11:27:47 -06:00
ochttp.h Initial version 2017-08-31 14:19:56 -06:00
ocinternal.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
ocinternal.h Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
ocnode.c applied gsjaardema's suggested change to ocnode.c 2017-11-30 09:22:14 -07:00
ocnode.h upgrade new oc files to nclist/ncbytes 2017-03-17 17:20:02 -06:00
ocread.c fixed easy warnings 2017-11-20 05:55:04 -07:00
ocread.h move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
ocutil.c This pr should probably be delayed until after Version 4.5. 2017-09-02 18:09:36 -06:00
ocutil.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ocx.h Made some changes to export symbols on Windows builds. 2018-08-02 14:58:47 -06:00
xxdr.c Misc. source comment typos 2018-04-26 23:04:01 -04:00
xxdr.h 1. synch with oc lib 2015-03-02 20:26:39 -07:00