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 macOS compile with newer clang #221

Merged
merged 2 commits into from
Nov 13, 2023
Merged

Commits on Oct 30, 2023

  1. Use import_array() from cnp instead of cdef-ing it

    This uses the Python version and avoids picking up a problematic macro
    that fails compiling with clang >= 15 on conda-forge due to strictness.
    (The compiler complains about returning NULL from a function declared to
    return int.)
    
    Also remove an unused cdef of PyArray_SIZE().
    dopplershift committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    08d9473 View commit details
    Browse the repository at this point in the history
  2. Clean up some const warnings

    Updates to functions from grib_api.h reflect current version and date
    back to 2012.
    dopplershift committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    d0d7028 View commit details
    Browse the repository at this point in the history