[issue15453] ctype with packed bitfields does not match native compiler

2021-03-12 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Ctypes Packing Bitfields Incorrectly - Linux ___ Python tracker

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-31 Thread Mike Castle
Mike Castle added the comment: I did read through all of those before posting this one. As far as I can remember, none of those addressed the use of pack, which is the sole problem I'm facing here. Now maybe when all is said and done and all of these bitfield bugs are worked out, this one

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-27 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: If you have not, please check other ctypes bitfields issues, especially #15119 ctypes mixed-types bitfield layout nonsensical; doesn't match compiler. to see if this is the same problem. -- nosy: +terry.reedy versions: -Python 2.6

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-26 Thread Mike Castle
New submission from Mike Castle dalg...@gmail.com: On debian/testing with python 2.7.3rc2 and gcc 4.7.1. I was trying to use ctypeslib to wrap libdvdnav and running into some issues porting my test C code to Python, eventually tracking it down to this difference between how ctypes and gcc

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-26 Thread Mike Castle
Mike Castle dalg...@gmail.com added the comment: And the C version -- Added file: http://bugs.python.org/file26522/t.c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15453 ___

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-26 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15453 ___ ___