New submission from André Malo <n...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14993>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to