New submission from Ralf Schmitt <[EMAIL PROTECTED]>: 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. ---------- components: Windows messages: 74743 nosy: schmir severity: normal status: open title: undefined reference to _Py_ascii_whitespace type: compile error versions: Python 2.6 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4122> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com