[issue2981] confusing action of struct.pack and struct.unpack with fmt 'p'

2008-05-28 Thread John Stowers
John Stowers <[EMAIL PROTECTED]> added the comment: I Agree. AIUI the benefit of pascal strings when transmitted is that the decoder does not need to know its length ahead of time. The requirement that the unpack pascal format string be given the length of the string makes the implemen

[issue1597850] Cross compiling patches for MINGW

2007-12-10 Thread John Stowers
John Stowers added the comment: I created config.cache and populated it with ac_cv_printf_zd_format=yes before executing the following ./configure --prefix /home/john/jhbuild/win32/build/ --build=i686-pc-linux-gnuaout --host=i586-pc-mingw32msvc --target=i586-pc-mingw32msvc --disable-docs

[issue1597850] Cross compiling patches for MINGW

2007-12-09 Thread John Stowers
John Stowers added the comment: Sorry, I should have clarified further in my last comment. Looking over the configure script I don't recognize the %zd test as one that could be circumvented by supplying a config.cache file with the appropriate values. How do I escape this limit

[issue1597850] Cross compiling patches for MINGW

2007-12-09 Thread John Stowers
John Stowers added the comment: Hello, I recently tried this in combination with jhbuild, cross compiling with mingw (to built some python gtk extensions). I tried you patch against the 2.5.1 version and recieved the following error: checking for /dev/ptmx... yes checking for /dev/ptc... no