Marc Le Roy <mleroy...@gmail.com> 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
Change by Marc Le Roy <mleroy...@gmail.com>:
--
nosy: +mleroy003
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue29753>
___
__
New submission from Marc Le Roy <mleroy...@gmail.com>:
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 ex