[issue14993] GCC error when using unicodeobject.h
STINNER Victor
report at bugs.python.org
Mon Jun 4 22:58:18 CEST 2012
STINNER Victor <victor.stinner at gmail.com> added the comment:
> OTOH, I fail to see why they need to be bitfields: a plain
> unsigned char field should work as well (as would an int bitfield). Victor?
I chose a bitfield to have a more compact structure. I didn't know that a bitfield using unsigned char is a GCC extension: it compiles on Visual Studio 2008, isn't it?
The size of _PyUnicodeWriter doesn't really matter, so I replace the two fields with simple types.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14993>
_______________________________________
More information about the Python-bugs-list
mailing list