[issue31748] configure fails to detect fchdir() using CFLAGS="-Werror -Wall"

2017-10-11 Thread STINNER Victor
STINNER Victor added the comment: "Different people generate ./configure different ways. Some insert runstatedir in configure, others don't. E.g. on 14 April 2017 runstatedir was added to configure, on 9 June it was removed from configure, on 29 June it was added to configure. It needs to

[issue31748] configure fails to detect fchdir() using CFLAGS="-Werror -Wall"

2017-10-11 Thread Дилян Палаузов
Дилян Палаузов added the comment: The patch puts in "Misc/NEWS.d/next/Core and Builtins/2017-10-11-10-42-02.bpo-31748.oaEZcq.rst": +Support configure with -Wall by avoiding unused variables. but likely means "-Werror" (or both) Different people generate ./configure different ways. Some inse

[issue31748] configure fails to detect fchdir() using CFLAGS="-Werror -Wall"

2017-10-11 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +3924 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue31748] configure fails to detect fchdir() using CFLAGS="-Werror -Wall"

2017-10-10 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 is also affected by the issue. -- versions: +Python 2.7, Python 3.6, Python 3.7 -Python 3.8 ___ Python tracker ___

[issue31748] configure fails to detect fchdir() using CFLAGS="-Werror -Wall"

2017-10-10 Thread STINNER Victor
STINNER Victor added the comment: I can reproduce the issue on Fedora 26: haypo@selma$ ./configure CFLAGS="-Werror -Wall" 2>&1|tee log haypo@selma$ grep fchdir log checking for fchdir... no The problem is not posixmodule.c. The problem is configure which emits a compiler warning. configure.a