[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2018-08-22 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2018-08-18 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2018-08-18 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: I cannot reproduce this with HP-UX 11.31 and master + 3.7. I opt to close this one. -- nosy: +michael-o ___ Python tracker

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: Should this be closed in favour of issue 12572? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-15 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: I am collecting HP/UX compiler workarounds in issue 12572. I will be adding patches to it as I produce them, including a patch to fix this on HP/UX. -- ___ Python tracker

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-15 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___ ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: Martin - sys/_mbstate_t.h provides a definition for mbstate_t only (at least on HP/UX 11i V2.0). I can verify that the problem still exists for Python 3.2.1. I am working on a workaround for this issue, and I will attach a patch

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: I got it to build on HP-UX 11. However, there are a lot of compiler warnings about type mismatches, the _ctypes, _multiprocessing and termios modules failed to build, and make test died after not finding a usable binascii module. To

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Jim, the question remains why it fails to compile then. If the type is defined, why does it give an error message but has not been defined as a type??? -- ___ Python tracker

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: Martin - sys/_mbstate.h is only included if _INCLUDE__STDC_A1_SOURCE is defined. The only way this gets defined in the vendor-provided include files is if _XOPEN_SOURCE is defined and is equal to 500, or __STDC_VERSION__ is defined

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: That's a patch to HP-UX, right? Not one to Python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-07-14 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com added the comment: Yes, it is a patch to an HP-provided C compiler system header file. I cannot provide the actual file it patches, due to copyright limitations. -- ___ Python tracker rep...@bugs.python.org

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-27 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2011-06-26, at 2:04 PM, Terry J. Reedy wrote: Terry J. Reedy tjre...@udel.edu added the comment: Sridhar, is there still a problem with current 3.2/3? If you are no longer working on this, I think we should close as

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-27 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: « Python 3.2 was released on February 20th, 2011. » (from python.org) -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-27 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2011-06-27, at 9:11 AM, Éric Araujo wrote: Éric Araujo mer...@netwok.org added the comment: « Python 3.2 was released on February 20th, 2011. » (from python.org) My mistake; I meant to say 3.2.1 final. --

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Sridhar, is there still a problem with current 3.2/3? If you are no longer working on this, I think we should close as languishing/postponed. -- nosy: +terry.reedy versions: +Python 3.2 -Python 3.1

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-07-02 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: Added file: http://bugs.python.org/file14431/_mbstate_t.h ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-07-02 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: Added file: http://bugs.python.org/file14432/test.c.preprocessed.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-07-02 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: I've attached the files you requested. As a wild guess, try defining _XOPEN_SOURCE to 500, i.e. -D_XOPEN_SOURCE=500. Yes, this works .. the file compiles. I tried modifying the value of _XOPEN_SOURCE to 500 in pyconfig.h

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-07-02 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: Added file: http://bugs.python.org/file14433/test.c_XOPEN_SOURCE_500_preprocessed.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-07-02 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Yes, this works .. the file compiles. I tried modifying the value of _XOPEN_SOURCE to 500 in pyconfig.h (currently set to 600). That's an HPUX bug then, please report it to HP. They should assume that any feature present in XPG 5 is also

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-06-29 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Hello Martin, My apologies for responding so late. [Martin] Also, please confirm a few things: a. configure has detected that your system has mbrtowc (...) # Yes, as can be seen in the attached config.log [Martin] (...) b.

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-06-29 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: -- components: +Unicode Added file: http://bugs.python.org/file14398/pyconfig.h ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-06-29 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: Added file: http://bugs.python.org/file14400/wchar.h ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5999 ___

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-06-29 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: `mbstate_t` seems to exist in /usr/include/wchar.h I can't infer that from the copy of wchar.h that you provided. I see that mbstate_t* is used, but I fail to find any definition of mbstate_t. I see that sys/_mbstate_t.h is included. This

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I have two questions: 1. does your system provide the mbstate_t type? 2. if so, what header file needs to be included? Also, please confirm a few things: a. configure has detected that your system has mbrtowc b. configure's analysis is

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-05-12 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Adding Martin to the nosy list as this is related to his change: http://svn.python.org/view/python/branches/py3k/Modules/python.c?view=annotate#l17 -- nosy: +loewis ___ Python tracker

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-05-11 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: cc +DD64 -Ae -D_REENTRANT +Z -c -DNDEBUG -O -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c Error 419: ./Modules/python.c, line 34 # 'mbstate_t' is used as a type, but has not been defined as a