[New-bugs-announce] [issue14993] GCC error when using unicodeobject.h

André Malo report at bugs.python.org
Sun Jun 3 21:25:23 CEST 2012


New submission from André Malo <nd at perlig.de>:

GCC error when using unicodeobject.h

This ist my first attempt to test an extension with python 3.3. I've been using the 3.3.0a4 tarball.

I'm using very strict compiler settings when compiling my extension modules, especially -Wall -Werror (along with a lot more flags, like -pedantic, -std=c89).

Including Python.h includes unicodeobject.h which emits:

/usr/include/python3.3/unicodeobject.h:905: error: type of bit-field 'overallocate' is a GCC extension
/usr/include/python3.3/unicodeobject.h:908: error: type of bit-field 'readonly' is a GCC extension

Maybe these should just be (unsigned) ints or something?

----------
components: Extension Modules, Interpreter Core
messages: 162229
nosy: ndparker
priority: normal
severity: normal
status: open
title: GCC error when using unicodeobject.h
type: compile error
versions: Python 3.3

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


More information about the New-bugs-announce mailing list