HomeFreeBSD

devel/py-jcc: unbreak with clang 4.0

Description

devel/py-jcc: unbreak with clang 4.0

jcc/sources/JArray.cpp:315:66: error: ordered comparison between pointer and zero ('PyObject *' (aka '_object *') and 'int')

PyList_Type.tp_as_sequence->sq_inplace_concat(list, arg) < 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

jcc/sources/JArray.cpp:330:64: error: ordered comparison between pointer and zero ('PyObject *' (aka '_object *') and 'int')

PyList_Type.tp_as_sequence->sq_inplace_repeat(list, n) < 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

Reported by: antoine (via exp-run)

Details

Provenance
jbeichAuthored on
Parents
rP432988: devel/alabastra: unbreak with clang 4.0
Branches
Unknown
Tags
Unknown