Skip to content

C bindings broken on MacOS/Arm64 with GFortran 11 #54

Closed
@awvwgk

Description

@awvwgk

The C bindings pass a nested function as callback to allow the C API to carry along user data via an opaque pointer (void*). This mechanism is also used in the Python API to propagate exceptions storing the small object in a handle and pass it as void* to the Minpack C API.

This issue has been fixed for GCC 12, see iains/gcc-darwin-arm64#26.

Potential workaround available in #30

Metadata

Metadata

Assignees

No one assigned

    Labels

    bindings: CExport of C API via bind(c)compiler: gfortranRelated to the GFortran compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions