[PATCH][win32] problems compiling bzrlib/_dirstate_helpers_c.pyx with MSVC
bialix at ukr.net
Wed Aug 1 11:39:44 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Lukáš Lalinský пишет:
> On Ut, 2007-07-31 at 12:13 +0300, Alexander Belchenko wrote:
>> I don't know is it bug in Pyrex or in our usage of Pyrex, but I repeat
>> one more time:
>> Pyrex substitute intptr_t with int in
>> generated C-code, so actually nor stdint.h nor intptr_t
>> is not used at all.
>> intptr_t is not present in generated C-code. So, it's already
>> breaks compatibility with 64-bit platform.
> If the ctypedef statement appears in a 'cdef extern from' section it
> will not be replaced. This happens only if it's moved to the top-level
> For example my compiled _dirstate_helpers_c.c contains:
> __pyx_r = ((((intptr_t )__pyx_v_ptr) & ((sizeof(int )) - 1)) == 0);
Lukáš, what version of Pyrex you are using?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar