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

Issue when building with macos #1

Open
hoaknoppix opened this issue Dec 1, 2024 · 0 comments
Open

Issue when building with macos #1

hoaknoppix opened this issue Dec 1, 2024 · 0 comments

Comments

@hoaknoppix
Copy link

It returns as follow when executing pip install -r requirements.txt:

cdnarules.c:281:14: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *') [-Wint-conversion]
return PyErr_BadArgument();
^~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit code 1

Please help to double check, and I also feel like if it comes to this statement on Mac, there is something not right as well for this guard:
if (!PyArg_ParseTuple(args, "O!O!", &PyArray_Type, &X, &PyArray_Type, &Y)) {
return PyErr_BadArgument();
}

it should not come to the return statement.

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

No branches or pull requests

1 participant