[issue10054] select extension does not build on platforms where uintptr_t is provided in inttypes.h

Akira Kitada report at bugs.python.org
Sat Oct 9 10:10:54 CEST 2010


New submission from Akira Kitada <akitada at gmail.com>:

Some platforms have uintptr_t in inttypes.h but Python bulid system
assumes it's defined in stdint.h and it causes build failure:

"""
building 'select' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/usr/home/akitada/
src/release27-maint/Include -I/usr/home/akitada/src/release27-maint -c /usr/home/akitada/src/release27-maint/Modules/selectmodule.c -o build/temp.freebsd-4.
11-RELEASE-i386-2.7/usr/home/akitada/src/release27-maint/Modules/selectmodule.o
/usr/home/akitada/src/release27-maint/Modules/selectmodule.c:1189: #error uintptr_t does not match void *!
"""

----------
components: Build
messages: 118251
nosy: akitada
priority: normal
severity: normal
status: open
title: select extension does not build on platforms where uintptr_t is provided in inttypes.h
type: compile error
versions: Python 2.7

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


More information about the Python-bugs-list mailing list