On 30 Jan 2014, at 09:36, Gennadiy Poryev <[email protected]> wrote:

> Here's what it produces when built for Win32
> 
> SizeOf(Struct1Byte) = 1
> SizeOf(Struct2Byte) = 2
> SizeOf(Struct3Byte) = 3
> SizeOf(Struct4Byte) = 4
> SizeOf(Struct5Byte) = 8
> SizeOf(Struct6Byte) = 8
> SizeOf(Struct7Byte) = 8
[snip]
> 
> Am I misusing bitpacked records somehow, or does this qualify as a bug?

Bitpacking only packs ordinals up to the native integer size.


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to