This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Possible unnecessary redifinition of _POSIX_C_SOURCE
Type: compile error Stage: resolved
Components: Interpreter Core Versions: Python 3.9
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: nanjekyejoannah
Priority: normal Keywords:

Created on 2020-03-03 18:12 by nanjekyejoannah, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg363286 - (view) Author: Joannah Nanjekye (nanjekyejoannah) * (Python committer) Date: 2020-03-03 18:12
Please note the compile warning:

./pyconfig.h:1590: warning: "_POSIX_C_SOURCE" redefined
 #define _POSIX_C_SOURCE 200809L
 
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from /workspace/cpython/Modules/expat/xmltok.c:34:
/usr/include/features.h:295: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 199506L

There must be a way of avoiding this warning.
msg404798 - (view) Author: Joannah Nanjekye (nanjekyejoannah) * (Python committer) Date: 2021-10-22 17:22
Closing this, someone else can reopen if they see the same.
History
Date User Action Args
2022-04-11 14:59:27adminsetgithub: 84019
2021-10-22 17:22:23nanjekyejoannahsetstatus: open -> closed

messages: + msg404798
stage: resolved
2020-03-03 18:12:44nanjekyejoannahcreate