Package: cvxopt
Version: 1.1.4-1.2
Usertags: goto-cc

While compiling the package using our research compiler infrastructure it became
apparent that the following declarations are conflicting:

http://sources.debian.net/src/cvxopt/1.1.4-1.2/src/C/base.c?hl=171#L171
http://sources.debian.net/src/cvxopt/1.1.4-1.2/src/C/sparse.c?hl=36#L36
http://sources.debian.net/src/cvxopt/1.1.4-1.2/src/C/dense.c?hl=55#L55

(Note that int_t expands to Py_ssize_t, which in turn will be, e.g., a signed
long on 64 bit architectures.)

As these function pointers are used with int_t arguments, but the actual
function definitions only expect an int, the result will be entirely undefined
for all architectures where int and Py_ssize_t have different bit width. No
suitable conversion will be performed by the compiler as it does not see the
appropriate declaration.

Best,
Michael

Attachment: pgpH95cvmb9RN.pgp
Description: PGP signature

Reply via email to