I do not have the hardware to test on, but with a "hello world" style program -mno-ms-bitfield fixes the struct size from 18 back to 16
--Ray On 2021-01-02 11:19 a.m., Paul Fertser wrote: > Hi Helge, > > On Sat, Jan 02, 2021 at 06:20:54PM +0100, Helge Kruse wrote: >> The MXE compiler, that is used for compiling the Windows version ignores >> silently this attribute. This can be verified by a simple "Hello, World" >> style program. > This is a perfect find! Have you tried compiling with -mno-ms-bitfield > or with pragma pack? > _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel