[issue7657] test_ctypes failure on AIX 5.3

sangamesh report at bugs.python.org
Tue Jan 12 09:51:08 CET 2010


sangamesh <swamy.sangamesh at gmail.com> added the comment:

These failures are specific to xlc compiler
In xlc signed bit fields will be mapped to unsigned by default as opposed to gcc where the value stored in the bit field is of type declared. 
so the the value returned by "func(byref(b), name)"  positive in some cases as it expected to be of type declared.

Their  is an xlc compiler option  "-qbitfields=signed" to make the bit fields of type signed.
After this all the ctypes test cases got passed.

----------
status: open -> closed

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


More information about the Python-bugs-list mailing list