This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jeffr@livedata.com
Recipients jeffr@livedata.com
Date 2012-03-22.11:53:03
SpamBayes Score 2.4734723e-08
Marked as misclassified No
Message-id <1332417184.03.0.15615521555.issue14387@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2012-03-22 11:53:04jeffr@livedata.comsetrecipients: + jeffr@livedata.com
2012-03-22 11:53:04jeffr@livedata.comsetmessageid: <1332417184.03.0.15615521555.issue14387@psf.upfronthosting.co.za>
2012-03-22 11:53:03jeffr@livedata.comlinkissue14387 messages
2012-03-22 11:53:03jeffr@livedata.comcreate