Message74743
unicodeobject.h contains the following code:
extern const unsigned char _Py_ascii_whitespace[];
#define Py_UNICODE_ISSPACE(ch) \
((ch) < 128U ? _Py_ascii_whitespace[(ch)] : _PyUnicode_IsWhitespace(ch))
When linking a module which uses the Py_UNICODE_ISSPACE macro, I get an
error "undefined reference to _Py_ascii_whitespace" (on windows using
the mingw compiler, linux works without problems).
The symbol should most probably be exported with the PyAPI_DATA macro...
This happens with python 2.6. |
|
Date |
User |
Action |
Args |
2008-10-14 13:39:09 | schmir | set | recipients:
+ schmir |
2008-10-14 13:39:08 | schmir | set | messageid: <1223991548.86.0.809237615427.issue4122@psf.upfronthosting.co.za> |
2008-10-14 13:39:08 | schmir | link | issue4122 messages |
2008-10-14 13:39:07 | schmir | create | |
|