Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings in ncgen #2897

Merged
merged 19 commits into from
Apr 24, 2024
Merged

Fix warnings in ncgen #2897

merged 19 commits into from
Apr 24, 2024

Conversation

ZedThree
Copy link
Contributor

Fixes or silences all warnings in ncgen. This PR will bring the total warnings down to under 500

ZedThree added 17 commits March 25, 2024 09:25
Fixes lots of warnings about conversions changing value
Fixes lots of sign-conversion 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
  ...
@ZedThree
Copy link
Contributor Author

The failing tests on the Mac OS X build passed when rerun on CI. Doesn't look like the usual sporadic failures from the network tests? Also from ncdump tests, which I don't think should be affected by the changes here?

* main:
  Set flags to avoid warning messages if curl isn't found.
  Use modern cmake nomenclature for curl.
  Skip checking for duplicates if only one element in list
  Change format of backwards-loops
@WardF WardF self-assigned this Apr 5, 2024
@WardF WardF added this to the 4.9.3 milestone Apr 5, 2024
@WardF WardF merged commit be9cb7f into Unidata:main Apr 24, 2024
103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants