Commit Graph

10095 Commits

Author SHA1 Message Date
Ward Fisher
acec11d515 Use modern cmake nomenclature for curl. 2024-04-03 11:42:59 -06:00
Ward Fisher
0b9631fd1b
Merge pull request #2899 from ZedThree/silence-reverse-loop-warnings
Fix warnings from backwards-loops
2024-04-02 17:19:56 -06:00
Ward Fisher
38d3831319
Merge branch 'main' into clang-tidy-fixes 2024-04-02 15:30:47 -06:00
Peter Hill
33a6ab034a
Fix truncated-format warning in ncgen 2024-03-25 16:10:08 +00:00
Peter Hill
cffc5187a2
Fix some conversion warnings in ncgen3 2024-03-25 16:10:08 +00:00
Peter Hill
317d2bfd08
Fix some conversion warnings in ncgen3 generated files 2024-03-25 16:10:07 +00:00
Peter Hill
e0622c8a3a
Regenerate ncgen3
Use flex 2.6.4 and bison 3.8.2

Lots of changes but does squash a bunch of warnings
2024-03-25 16:10:07 +00:00
Peter Hill
6176eaa785
CMake: Add option to automatically regenerate ncgen3/ncgen 2024-03-25 16:10:07 +00:00
Peter Hill
1cf1522436
Skip checking for duplicates if only one element in list 2024-03-25 14:25:38 +00:00
Peter Hill
3c6bd83330
Change format of backwards-loops
Enables using correct `size_t` type for loop counter, usually fixing
some conversion warnings
2024-03-25 14:25:38 +00:00
Peter Hill
9315ca101a
Merge branch 'main' into silence-ncgen-warnings
* main: (107 commits)
  Updated Release Notes.
  A bit of cleanup for now, more to follow, but moving on to other roadblocks.
  Comment out debugging messages, will remove before final merge.  Clean up the logic, remove some rough edges.
  Add a filter to process options and report deprecation warning.
  Remove dangling define in netcdf_meta.h template file.
  No effect other than to remove a personal annoyance I introduced in the first place.
  Updated the nc-config script with the following:
  adding deprecation error for usage of NETCDF_ENABLE_NETCDF4
  removing cmake alias variable for netcdf4
  removing script
  replacing something that removes semicolons
  another one
  fixing some that were missing?
  removing variables
  Replacing NC_USE_STATIC_CRT with NETCDF_USE_STATIC_CRT
  Replace NC_FIND_SHARED_LIBS with NETCDF_FIND_SHARED_LIBS
  Replace ENABLE_XGETOPT with NETCDF_ENABLE_XGETOPT
  Replace ENABLE_UNIT_TESTS with NETCDF_ENABLE_UNIT_TESTS
  Replace ENABLE_TESTS with NETCDF_ENABLE_TESTS
  Replace ENABLE_STRICT_NULL_BYTE_HEADER_PADDING with NETCDF_ENABLE_STRICT_NULL_BYTE_HEADER_PADDING
  ...
2024-03-25 09:25:25 +00:00
Peter Hill
0d354152ca
Silence some conversion warnings in ncgen generated files 2024-03-25 09:25:24 +00:00
Peter Hill
c74b78efc6
Fix return type of listlength 2024-03-25 09:25:24 +00:00
Peter Hill
320c29c723
Fix more sign conversion warnings in ncgen 2024-03-25 09:25:24 +00:00
Peter Hill
47d1b68599
Cast to correct type in assignment 2024-03-25 09:25:24 +00:00
Peter Hill
3134af3ce7
Remove unused static variable 2024-03-25 09:25:24 +00:00
Peter Hill
17a7b28301
Change type of opaque object length member 2024-03-25 09:25:24 +00:00
Peter Hill
6b17d77e7a
Fix some size/conversion warnings in ncgen.l/y 2024-03-25 09:25:24 +00:00
Peter Hill
ad8b7b74b6
Remove unused function from ncgen/dump.c 2024-03-25 09:25:23 +00:00
Peter Hill
a90730c402
Try to be more consistent in char type for escaping characters 2024-03-25 09:25:23 +00:00
Peter Hill
506a09df7e
Try to be more consistent with types of alignments/offsets 2024-03-25 09:25:23 +00:00
Peter Hill
c1977cacc9
Fix some sign conversion warnings in ncgen 2024-03-25 09:25:23 +00:00
Peter Hill
c244ed6683
Use char consistently for fillchar in genchar.c 2024-03-25 09:25:23 +00:00
Peter Hill
57e754f579
Silence lots conversion warnings in ncgen 2024-03-25 09:25:23 +00:00
Peter Hill
83faffacaa
Change type of string length member
Fixes lots of sign-conversion warnings
2024-03-25 09:25:23 +00:00
Peter Hill
c80d71213d
Fix a bunch of sign conversion warnings from ncgen.y 2024-03-25 09:25:23 +00:00
Peter Hill
6c249365f0
Change bbAppendn argument type to size_t
Fixes lots of warnings about conversions changing value
2024-03-25 09:25:18 +00:00
Ward Fisher
e5b83cd70f
Merge pull request #2884 from ZedThree/silence-test-warnings
Fix warnings in tests and examples
2024-03-21 17:13:04 -06:00
Ward Fisher
e8e867bf10
Merge pull request #2883 from ZedThree/silence-libsrc-warnings
Silence most warnings in `libsrc`
2024-03-21 16:57:05 -06:00
Ward Fisher
2849b70470
Merge pull request #2822 from ZedThree/cmake-ncgen-generate
CMake: Add option to always automatically regenerate `ncgen` source
2024-03-21 15:31:58 -06:00
Ward Fisher
cdd9cbb83c Merging current main development branch, changing option name to include
NETCDF_ prefix. Thanks!

Merge remote-tracking branch 'upstream/main' into cmake-ncgen-generate
2024-03-21 14:08:12 -06:00
Ward Fisher
c66f9c30f4
Merge pull request #2891 from ZedThree/silence-oc2-warnings
Silence warnings in `oc2`
2024-03-21 11:22:34 -06:00
Ward Fisher
fa6df050ce
Merge pull request #2874 from ZedThree/silence-libhdf5-warnings
Silence most warnings in libhdf5
2024-03-20 17:26:58 -06:00
Ward Fisher
ad53ef4203
Merge pull request #2814 from ZedThree/fix-dumplib-warnings
Fix most warnings in `dumplib.c`
2024-03-20 17:19:52 -06:00
Ward Fisher
37e6b92703
Merge pull request #2895 from K20shores/prefix_options
Prefix all options with NETCDF_
2024-03-20 12:07:23 -06:00
Ward Fisher
390cacc31e Updated Release Notes. 2024-03-20 11:28:20 -06:00
Ward Fisher
ab2adc68da A bit of cleanup for now, more to follow, but moving on to other roadblocks. 2024-03-20 11:25:36 -06:00
Ward Fisher
43573c5669 Comment out debugging messages, will remove before final merge. Clean up the logic, remove some rough edges. 2024-03-19 16:36:20 -06:00
Ward Fisher
67609b0965 Add a filter to process options and report deprecation warning. 2024-03-19 16:30:47 -06:00
Ward Fisher
e36b111c99
Merge pull request #2890 from K20shores/h5_shared
Remove now unused cmake
2024-03-19 14:20:51 -06:00
Ward Fisher
c38cfc5d7c Remove dangling define in netcdf_meta.h template file. 2024-03-19 11:37:40 -06:00
Ward Fisher
a56cfe038f No effect other than to remove a personal annoyance I introduced in the first place. 2024-03-19 11:25:09 -06:00
Ward Fisher
057f716d7f Updated the nc-config script with the following:
o Added --build-system to report whether netcdf was configured using cmake or autotools.
o For cmake-based installs, added an argument which will allow non-cmake projects to get traditionally formated dependancy syntax, --libs-ac-syntax.
2024-03-19 11:19:57 -06:00
Kyle Shores
5097e2ed9e adding deprecation error for usage of NETCDF_ENABLE_NETCDF4 2024-03-19 11:58:03 -05:00
Kyle Shores
449c0e3f97 removing cmake alias variable for netcdf4 2024-03-19 11:54:54 -05:00
Kyle Shores
e0a87e4a29 removing script 2024-03-19 11:52:05 -05:00
Kyle Shores
adc82f5d1d replacing something that removes semicolons 2024-03-19 09:36:54 -05:00
Ward Fisher
7babdcb299
Merge pull request #2892 from ZedThree/silence-libsrc4-warnings
Silence conversion warnings in libsrc4
2024-03-18 15:38:10 -06:00
Kyle Shores
4d44e1a2dc another one 2024-03-18 16:30:20 -05:00
Kyle Shores
121df00422 fixing some that were missing? 2024-03-18 16:27:23 -05:00