Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible unnecessary redifinition of _POSIX_C_SOURCE #84019

Closed
nanjekyejoannah opened this issue Mar 3, 2020 · 2 comments
Closed

Possible unnecessary redifinition of _POSIX_C_SOURCE #84019

nanjekyejoannah opened this issue Mar 3, 2020 · 2 comments
Labels
3.9 only security fixes build The build process and cross-build interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@nanjekyejoannah
Copy link
Member

BPO 39838
Nosy @nanjekyejoannah

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2021-10-22.17:22:23.368>
created_at = <Date 2020-03-03.18:12:44.376>
labels = ['interpreter-core', 'build', '3.9']
title = 'Possible unnecessary redifinition of _POSIX_C_SOURCE'
updated_at = <Date 2021-10-22.17:22:23.367>
user = 'https://github.com/nanjekyejoannah'

bugs.python.org fields:

activity = <Date 2021-10-22.17:22:23.367>
actor = 'nanjekyejoannah'
assignee = 'none'
closed = True
closed_date = <Date 2021-10-22.17:22:23.368>
closer = 'nanjekyejoannah'
components = ['Interpreter Core']
creation = <Date 2020-03-03.18:12:44.376>
creator = 'nanjekyejoannah'
dependencies = []
files = []
hgrepos = []
issue_num = 39838
keywords = []
message_count = 2.0
messages = ['363286', '404798']
nosy_count = 1.0
nosy_names = ['nanjekyejoannah']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue39838'
versions = ['Python 3.9']

@nanjekyejoannah
Copy link
Member Author

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.

@nanjekyejoannah nanjekyejoannah added 3.9 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) build The build process and cross-build labels Mar 3, 2020
@nanjekyejoannah
Copy link
Member Author

Closing this, someone else can reopen if they see the same.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.9 only security fixes build The build process and cross-build interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

No branches or pull requests

1 participant