New submission from Segev Finer:

This is caused by _GNU_SOURCE being defined here: 
https://github.com/python/cpython/blob/c08177a1ccad2ed0d50898c2731b518c631aed14/configure.ac#L124,
 But also getting defined by AC_USE_SYSTEM_EXTENSIONS 
(https://github.com/python/cpython/blob/c08177a1ccad2ed0d50898c2731b518c631aed14/configure.ac#L906).

AC_USE_SYSTEM_EXTENSIONS does use an #ifndef but Python's AC_DEFINE seems to be 
getting order after it.

----------
components: Build
messages: 297238
nosy: Segev Finer
priority: normal
severity: normal
status: open
title: ./pyconfig.h:1438:0: warning: "_GNU_SOURCE" redefined [enabled by 
default]
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30797>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to