Hello,

Seems that zope\app\container\_zope_proxy_proxy.c cannot be compiled
with MS compilers. With python 2.4.5, 2.4.4 and 2.4.3 on winXP.

eeeeeek, fails on linux too (debian etch+python 2.4.4)...

I'm not a C guru, with a help from a friend we figured that the
problem is the Py_ssize_t, which is available in python 2.5.

A workaround could be adding

#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN INT_MIN
#endif

as proposed by

http://www.python.org/dev/peps/pep-0353/

Strange, that there is a zope.app.container-3.5.6-py2.4-win32.egg on
pypi.

-- 
Best regards,
 Adam GROSZER                          mailto:[EMAIL PROTECTED]
--
Quote of the day:
A handful of friends is worth more than a wagon of gold.

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to