[Python-Dev] cpython: Add modeling file for Coverity Scan.

Christian Heimes christian at python.org
Tue Jul 23 21:52:47 CEST 2013


Am 23.07.2013 08:27, schrieb Antoine Pitrou:
> On Tue, 23 Jul 2013 01:31:24 +0200 (CEST)
> christian.heimes <python-checkins at python.org> wrote:
>> +
>> +typedef int sdigit;
>> +typedef long Py_ssize_t;
> 
> Can't you write "typedef ssize_t Py_ssize_t" instead?

No, but it really doesn't matter. Coverity just needs a similar type for
modeling.

"modeling_file.c", line 23: error #20:
          identifier "ssize_t" is undefined
  typedef ssize_t Py_ssize_t;
          ^

1 error detected in the compilation of "modeling_file.c".
ERROR: cov-translate returned with code 2


More information about the Python-Dev mailing list