This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ndparker
Recipients ndparker
Date 2012-06-03.19:25:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338751523.03.0.870704033637.issue14993@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2012-06-03 19:25:23ndparkersetrecipients: + ndparker
2012-06-03 19:25:23ndparkersetmessageid: <1338751523.03.0.870704033637.issue14993@psf.upfronthosting.co.za>
2012-06-03 19:25:22ndparkerlinkissue14993 messages
2012-06-03 19:25:22ndparkercreate