PyList_SET_ITEM() is supposed to be void, but as a macro it's an
expression and has a pointer value. Clang 4.0 trips on the bogus
pointer comparison; given the comparison, it should be PyList_SetItem()
which returns -1 on failure.
Details
Details
- Reviewers
tcberner rakuco jbeich - Commits
- rP431949: Fix py-pykde4 against newest clang
py-kde4 builds with these patches on -CURRENT with the clang4 branch.
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Before Tobias reminds me that there should be an explanation of
why the patches are necessary ..