[issue28768] Warning: implicit declaration of function '_setmode'

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +1071 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28768] Warning: implicit declaration of function '_setmode'

2017-01-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ea0fef6ec53 by Steve Dower in branch '2.7': Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto https://hg.python.org/cpython/rev/5ea0fef6ec53 -- ___ Python tracker

[issue28768] Warning: implicit declaration of function '_setmode'

2017-01-04 Thread STINNER Victor
STINNER Victor added the comment: Well, the change is not going to hurt. I backported the change. Thanks for the fix Masayuki! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue28768] Warning: implicit declaration of function '_setmode'

2017-01-03 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: Building 2.7 is for testing purposes. It is used to judge whether it is a problem (specifically for Cygwin-specific) originated in the old version. _setmode is an important function for setting input and output of CPython, so in Cygwin I feel annoying that

[issue28768] Warning: implicit declaration of function '_setmode'

2017-01-03 Thread STINNER Victor
STINNER Victor added the comment: Masayuki Yamamoto: Do you consider that Python 2.7 should be fixed as well? What is your use case for compiling Python 2.7 on Windows using Cygwin? -- ___ Python tracker _

[issue28768] Warning: implicit declaration of function '_setmode'

2016-12-28 Thread Steve Dower
Steve Dower added the comment: I applied to 3.6 and default. If anyone is motivated enough to apply to 2.7, feel free. -- stage: patch review -> commit review ___ Python tracker ___

[issue28768] Warning: implicit declaration of function '_setmode'

2016-12-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5027780d456b by Steve Dower in branch '3.6': Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto https://hg.python.org/cpython/rev/5027780d456b New changeset 276d1bae92be by Steve Dower in branch 'default': Issue

[issue28768] Warning: implicit declaration of function '_setmode'

2016-11-22 Thread STINNER Victor
STINNER Victor added the comment: include-io.h.patch LGTM. 2.7-include-io.h.patch: Cygwin is not currently officially supported in CPython. I suggest to focus efforts on supporting Cygwin in the default branch (future 3.7) only, as we are doing with Android. -- nosy: +haypo _

[issue28768] Warning: implicit declaration of function '_setmode'

2016-11-22 Thread Martin Panter
Martin Panter added the comment: The Modules/main.c change at least looks reasonable as a bug fix. In the long term, it would be nice to clean up some of the conditions for including . Currently it is unconditional via PC/pyconfig.h, configure.ac optionally enables HAVE_IO_H, and there are var

[issue28768] Warning: implicit declaration of function '_setmode'

2016-11-21 Thread Masayuki Yamamoto
Changes by Masayuki Yamamoto : Added file: http://bugs.python.org/file45593/2.7-include-io.h.patch ___ Python tracker ___ ___ Python-bugs-list

[issue28768] Warning: implicit declaration of function '_setmode'

2016-11-21 Thread Masayuki Yamamoto
New submission from Masayuki Yamamoto: Platform that appeared warning is Vista Cygwin x86. Interpreter execution doesn't crash because _setmode function is supplied from cygwin1.dll that always linked. Warning reason is header io.h [*] doesn't include to source file. Therefore I wrote two patc