netcdf-c/dap4_test
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
..
baseline Fixed a whitespace issue that occurs on OSX. 2018-11-16 15:08:17 -07:00
baselineraw re: github issues 2018-10-30 20:48:12 -06:00
baselineremote Corrected whitespace issue on OSX 2018-11-15 10:32:07 -07:00
cdltestfiles Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
daptestfiles Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
dmrtestfiles Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
misctestfiles Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
nctestfiles Missing CMakeLists.txt files 2017-05-17 19:33:03 -06:00
CMakeLists.txt temporarily turned off dap4_test/test_remote.sh 2018-11-21 09:17:44 -07:00
d4test_common.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
Makefile.am turned dap4 test back on 2018-11-21 17:54:29 -07:00
maketests.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
test_common.h re: github issues 2018-10-30 20:48:12 -06:00
test_data.c Make the netcdf-c library compile with gcc -ansi. 2018-12-05 19:20:43 -07:00
test_data.sh Corrected a cleanup issue that was left in whilst debugging. 2018-11-19 12:21:06 -07:00
test_environment4.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_fillmismatch.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
test_hyrax.sh The Jetstream remote test server is now working. 2018-06-26 13:58:45 -06:00
test_meta.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_meta.sh re: github issues 2018-10-30 20:48:12 -06:00
test_parse.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_parse.sh The Jetstream remote test server is now working. 2018-06-26 13:58:45 -06:00
test_raw.sh Fix the NC_INMEMORY code to work in all cases with HDF5 1.10. 2018-09-04 11:27:47 -06:00
test_remote.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
test_test.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
tst_curlopt.sh Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
tst_data.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
tst_meta.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
tst_parse.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
tst_raw.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00