New submission from Christian Heimes: On HP-UX mbstate_t for mbrtowc() is only available when _INCLUDE__STDC_A1_SOURCE is defined:
http://buildbot.python.org/all/builders/PA-RISC%20HP-UX%2011iv2%20%5BSB%5D%203.x/builds/2543/steps/compile/logs/stdio cc -Ae -c -O -O -I. -IInclude -I./Include -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c cc: "Objects/unicodeobject.c", line 3493: error 1000: Unexpected symbol: "mbs". cc: "Objects/unicodeobject.c", line 3493: error 1588: "mbstate_t" undefined. cc: "Objects/unicodeobject.c", line 3497: error 1588: "mbs" undefined. cc: "Objects/unicodeobject.c", line 3497: warning 563: Argument #1 is not the correct type. cc: "Objects/unicodeobject.c", line 3497: error 1594: The sizeof operator cannot be applied to types with unknown size. ---------- messages: 205486 nosy: christian.heimes, trent priority: low severity: normal stage: needs patch status: open title: mbstate_t requires _INCLUDE__STDC_A1_SOURCE type: compile error versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue19922> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
