[New-bugs-announce] [issue3030] compiler warning on HP-UX

Thomas Heller report at bugs.python.org
Tue Jun 3 07:55:57 CEST 2008


New submission from Thomas Heller <theller at ctypes.org>:

On HP-UX, there is a compiler warning about _POSIX_C_SOURCE redefined:

bash-2.04$ make
        gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE
-o Modules/python.o ./Modules/python.c
In file included from Include/Python.h:8,
                 from ./Modules/python.c:3:
./pyconfig.h:1023:1: warning: "_POSIX_C_SOURCE" redefined
<command line>:3:1: warning: this is the location of the previous definition
        gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE
-o Parser/acceler.o Parser/acceler.c
In file included from Include/Python.h:8,
                 from Include/pgenheaders.h:10,
                 from Parser/acceler.c:13:
./pyconfig.h:1023:1: warning: "_POSIX_C_SOURCE" redefined
...

----------
components: Build
messages: 67649
nosy: theller
severity: normal
status: open
title: compiler warning on HP-UX
versions: Python 2.6

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


More information about the New-bugs-announce mailing list