New submission from Hrvoje Nikšić: The printf("%zd", ...) configure test fails on Linux, although it supports the %zd format. config.log reveals that the test tests for %zd with Py_ssize_t, which is (within the test) typedeffed to ssize_t. But the appropriate system header is not included by the test, and ssize_t is not defined. This results in Py_ssize_t not being correctly defined, and the test failing.
According to http://tinyurl.com/3dhbbm/, ssize_t is defined in <sys/types.h>. Adding #include <sys/types.h> manually to the test fixes the test for me. A patch like the one attached should fix the problem. ---------- files: patch messages: 58675 nosy: hniksic severity: normal status: open title: %zd configure test fails on Linux versions: Python 2.5 Added file: http://bugs.python.org/file8966/patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1638> __________________________________
patch
Description: Binary data
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com