[issue31374] expat: warning: "_POSIX_C_SOURCE" redefined

Christian Heimes report at bugs.python.org
Wed Sep 6 18:43:23 EDT 2017


New submission from Christian Heimes:

In file included from /home/heimes/dev/python/cpython/Modules/expat/expat_config.h:8:0,
                 from /home/heimes/dev/python/cpython/Modules/expat/xmltok.c:41:
./pyconfig.h:1454:0: warning: "_POSIX_C_SOURCE" redefined
 #define _POSIX_C_SOURCE 200809L
 
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/string.h:26,
                 from /home/heimes/dev/python/cpython/Modules/expat/xmltok.c:35:
/usr/include/features.h:286:0: note: this is the location of the previous definition
 # define _POSIX_C_SOURCE 199506L

----------
components: Extension Modules, XML
messages: 301533
nosy: christian.heimes
priority: low
severity: normal
stage: needs patch
status: open
title: expat: warning: "_POSIX_C_SOURCE" redefined
type: compile error
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31374>
_______________________________________


More information about the Python-bugs-list mailing list