Message156546
Windows.h includes RpcNdr.h which does this:
#define small char
accu.h in Python\Include (Python 3.2.3rc2) has this in it:
typedef struct {
PyObject *large; /* A list of previously accumulated large strings */
PyObject *small; /* Pending small strings */
} _PyAccu;
An extension which includes both Windows.h and Python.h won't compile due to the Windows.h definition of "small".
The compiler error (VS2008) starts with:
c:\python32\include\accu.h(21) : error C2059: syntax error : 'type' |
|
Date |
User |
Action |
Args |
2012-03-22 11:53:04 | jeffr@livedata.com | set | recipients:
+ jeffr@livedata.com |
2012-03-22 11:53:04 | jeffr@livedata.com | set | messageid: <1332417184.03.0.15615521555.issue14387@psf.upfronthosting.co.za> |
2012-03-22 11:53:03 | jeffr@livedata.com | link | issue14387 messages |
2012-03-22 11:53:03 | jeffr@livedata.com | create | |
|