Marc Le Roy added the comment:
No solution found to solve this issue ?
The anomaly is not a cross platform inconsistency, it is an inconsistency
between the behaviours of GCC and ctypes, both under Linux or Cygwin, when
defining packed structures :
[Marc@I7-860 ~/dev/python/ctypes-bitfields
Change by Marc Le Roy :
--
nosy: +mleroy003
___
Python tracker
<https://bugs.python.org/issue29753>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Marc Le Roy :
The structure :
typedef struct __attribute__ ((packed)) {
unsigned int F0:24;
unsigned int F3:24;
unsigned int F6:24;
unsigned int F9:24;
} StructF_T;
is mapped as expected by GCC under both Linux and Cygwin.
As expected, the memory layout