netcdf-c/ncgen3
Dennis Heimbigner c68c4c804d Fix undefined references when using Visual Studio
Fix Issue https://github.com/Unidata/netcdf-c/issues/1725.
Replace PR https://github.com/Unidata/netcdf-c/pull/1726
Also replace PR https://github.com/Unidata/netcdf-c/pull/1694

The general problem is that under Visual Studio, we are seeing
a number of undefined reference and other scoping errors.
The reason is that the code is not properly using Visual Studio
_declspec() declarations.

The basic solution is to ensure that when compiling the code itself
one needs to ensure that _declspec(dllexport) is used. There
are several sets of macros to handle this, but they all rely
on the flag DLL_EXPORT being define when the code is compiled,
but not being defined when the code is used via a .h file.

As a test, I modified XGetOpt.c to build properly. I also
fixed the oc2 library to properly _declspec things like ocdebug.

I also made some misc. changes to get all the tests to run
if cygwin is installed (to get bash, sed, etc).

Misc. Changes:
* Put XGetOpt.c into libsrc and copy at build time
  to the other directories where it is needed.
2020-05-18 19:36:28 -06:00
..
bigf1.cdl
bigf2.cdl
bigf3.cdl
bigr1.cdl
bigr2.cdl
bigr3.cdl
c0.cdl
CMakeLists.txt Fix undefined references when using Visual Studio 2020-05-18 19:36:28 -06:00
depend
escapes.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
generic.h ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
genlib.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
genlib.h ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
getfill.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
init.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
lfs-tests
load.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
main.c Fix undefined references when using Visual Studio 2020-05-18 19:36:28 -06:00
Makefile.am Fix undefined references when using Visual Studio 2020-05-18 19:36:28 -06:00
ncgen3.1
ncgen.h ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
ncgen.l Provide byte-range reading of remote datasets 2019-01-01 18:27:36 -07:00
ncgen.y merge master and fix conflicts 2018-12-12 11:47:54 -07:00
ncgentab.c Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ncgentab.h Provide byte-range reading of remote datasets 2019-01-01 18:27:36 -07:00
ncgenyy.c Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
run_nc4_tests.sh
run_tests2.sh
run_tests.sh