Python.h problem-> /usr/include/python2.2/longobject.h:48: warning: ISO C89 does not support `long long'
"Martin v. Löwis"
martin at v.loewis.de
Wed Feb 11 18:37:04 CET 2004
David M. Cooke wrote:
> Hmm, does PY_LONG_LONG have to be (at least) 64-bits? A quick grep
> through the source seems to suggest that it's used as a large integer
> type -- not as something that holds at least 64 bits.
No. Instead, PY_LONG_LONG should be intmax_t. In particular, it should
be large enough to hold a file size, and a time_t.
More information about the Python-list