[issue12572] HP/UX compiler workarounds

2018-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the update. I think any problems with the current HP/UX compiler are best reported on a new issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue12572] HP/UX compiler workarounds

2018-10-15 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: I believe this issue can be safely closed. It is a no-brainer to compile Python from master on HP-UX with aCC these days. It works for me at least. -- nosy: +michael-o ___ Python tracker

[issue12572] HP/UX compiler workarounds

2012-03-01 Thread Éric Araujo
Changes by Éric Araujo : Added file: http://bugs.python.org/file22671/getpath.patch ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Éric Araujo added the comment: Jim: Sorry if we reacted first with process remarks instead of thanking you for the patches and reviewing them. We value contributions, and we try to be welcoming, but sometimes we forget what it’s like to enter this community. Some things have become basic fo

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file22696/hp-ux-compiler-workarounds.diff ___ Python tracker ___ ___ Python-bugs

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Éric Araujo added the comment: Arg, I thought I removed a duplicate patch but it was actually an updated version. Sorry about that; the link in the history at the bottom of this page still links to the file. Updated unified diff attached. -- Added file: http://bugs.python.org/file22

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Éric Araujo added the comment: Here’s a unified diff. -- Added file: http://bugs.python.org/file22696/hp-ux-compiler-workarounds.diff ___ Python tracker ___

[issue12572] HP/UX compiler workarounds

2011-07-19 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file22671/getpath.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12572] HP/UX compiler workarounds

2011-07-18 Thread Jim Schneider
Jim Schneider added the comment: Martin - I don't have time to manage your project's administrative requirements with respect to my fixes. I'm providing them out of the hope they will be of use to others who need to build on HP/UX, but I don't really care if they make it into the main branch

[issue12572] HP/UX compiler workarounds

2011-07-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please don't manage independent bugs in a single issue, even if they are related. The way this is done here will it make hard to track what exactly has been done, and what needs to be done. As it stands, please combine all patches into a single one, and we w

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: Terry - I apologize for jumping the gun a bit, and let me be a bit more clear. When I realized that the HP/UX compiler was going to have as many problems as it does compiling python 3, I decided it would be best to create a single issue for all of the compile

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: >The fileutils.patch patch attached to this issue directly addresses what's >wrong in issue 5999; I'd consider it closed, ... When an patch is committed that fixes that issue, say so there and I or someone will close it. >From issue 12561 (which I will be cl

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: Update to getpath.patch (issue 12561) - this version uses _Py_char2wchar where possible. Unfortunately, as lib_python is declared and defined statically, this can't be used in both cases where the HP/UX compiler has issues. -- Added file: http://bugs.

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Éric Araujo
Éric Araujo added the comment: Minor note: we prefer unified diffs, and when possible, all related changes in one file. See http://docs.python.org/devguide/ I can’t review the patches, as I don’t know C nor HP/UX. I’m not sure why you opened this report instead of following on the other one

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: >From issue 12561 (which I will be closing): Author: STINNER Victor (haypo) * Date: 2011-07-15 15:36 Use >L"" CONSTANT< to decode a byte string to a character string doesn't work with non-ASCII strings. _Py_char2wchar() should be used instead: see for examp

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: I'm adding the original listeners for issue 5999 to this one. The fileutils.patch patch attached to this issue directly addresses what's wrong in issue 5999; I'd consider it closed, but as I didn't open it, and I'm not actually part of the python project, that

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: The HP/UX C compiler grumbles when a symbol that is declared static is later defined without the static storage class specifier. The attached patch just adds the missing "static" keywords. -- Added file: http://bugs.python.org/file22670/Python-ast.pat

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: Sorry - last comment should have been "compiler refuses to past*e*", not "past". -- ___ Python tracker ___ _

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: This patch just reduces compiler noise by explicitly casting pointers to void *. I expect the Visual Studio C/C++ compiler suite also issued these warnings, too. -- Added file: http://bugs.python.org/file22669/typeobject.patch ___

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread STINNER Victor
STINNER Victor added the comment: I think that getpath.patch is wrong (it's just a workaround hiding a real bug): see msg140422 of the issue #12561. -- ___ Python tracker ___ _

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: Workaround for compiler bug; HP/UX compiler refuses to past (implicitly char *) string constants with wide (wchar_t *) string constants. This patch is also pasted to issue 12561 (which should be closed). Note: There is disagreement as to the best way to proc

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread STINNER Victor
STINNER Victor added the comment: Oops. You may *add* the number of this issue in a comment of your patch. -- ___ Python tracker ___

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread STINNER Victor
STINNER Victor added the comment: You may the number of this issue in a comment of your patch. -- ___ Python tracker ___ ___ Python-b

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
Jim Schneider added the comment: This patch works around the problem underlying issue 5999 by making sure the __STDC_VERSION__ macro is defined and has a value of at least 199901 -- Added file: http://bugs.python.org/file22666/fileutils.patch ___ Py

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12572] HP/UX compiler workarounds

2011-07-15 Thread Jim Schneider
New submission from Jim Schneider : The C compiler that comes with HP/UX 11 has some shortcomings that prevent building Python 3.2.1 out of the box. I am attaching patches here as I work through issues. The first patch fixes namespace shortcomings when trying to use struct termios. -