8000 Fails to build wheel with clang: incompatible function pointer types · Issue #295 · belangeo/pyo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Fails to build wheel with clang: incompatible function pointer types #295
Open
@milan-sastry

Description

@milan-sastry
  src/engine/osclistenermodule.c:187:56: error: incompatible function pointer types passing 'int (const char *, const char *, lo_arg **, int, void *, void *)' to parameter of type 'lo_method_handler' (aka 'int (*)(const char *, const char *, lo_arg **, int, struct lo_message_ *, void *)') [-Wincompatible-function-pointer-types]
    187 |     lo_server_add_method(self->osc_server, NULL, NULL, process_osc, (void *)self);
        |                                                        ^~~~~~~~~~~
  /usr/local/include/lo/lo_lowlevel.h:876:72: note: passing argument to parameter 'h' here
    876 |                                const char *typespec, lo_method_handler h,
        |                                                                        ^
  3 warnings and 1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyo
Failed to build pyo
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyo)

I am on Mac OS 15.1.1 with M4 chip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0