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

build error: ordered comparison between pointer and zero #17

Open
dliessi opened this issue Oct 8, 2017 · 1 comment · May be fixed by #18
Open

build error: ordered comparison between pointer and zero #17

dliessi opened this issue Oct 8, 2017 · 1 comment · May be fixed by #18

Comments

@dliessi
Copy link
Contributor

dliessi commented Oct 8, 2017

On macOS High Sierra, building via MacPorts:

:info:build types.sip:30:56: error: ordered comparison between pointer and zero ('PyObject *' (aka '_object *') and 'int')
:info:build         if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0)
:info:build                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
:info:build 5 warnings and 1 error generated.
:info:build error: command '/usr/bin/clang' failed with exit status 1

See bug report at MacPorts.

(I cannot confirm this personally, as I haven't got High Sierra yet.)

@dliessi
Copy link
Contributor Author

dliessi commented Oct 8, 2017

I forgot to mention: Python 3.5.

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 a pull request may close this issue.

1 participant