[New-bugs-announce] [issue37731] Possible redifinition of _POSIX_C_SOURCE in ./pyconfig.h

Joannah Nanjekye report at bugs.python.org
Wed Jul 31 10:14:39 EDT 2019


New submission from Joannah Nanjekye <nanjekyejoannah at gmail.com>:

While compiling Python, I got this warning.

./pyconfig.h:1590:0: warning: "_POSIX_C_SOURCE" redefined
 #define _POSIX_C_SOURCE 200809L

In file included from /usr/include/s390x-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/string.h:26,
                 from /homes/jnanjeky/projects/cpython/Modules/expat/xmltok.c:34:
/usr/include/features.h:294:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 199506L

I think there is need to investigate this warning and potential remedy.

----------
messages: 348806
nosy: nanjekyejoannah
priority: normal
severity: normal
status: open
title: Possible redifinition of _POSIX_C_SOURCE in ./pyconfig.h
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37731>
_______________________________________


More information about the New-bugs-announce mailing list