sangamesh <swamy.sangam...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7657>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to