[fpc-pascal] does the following translation of a c struct to FPC is correct ?

ik idokan at gmail.com
Sun Feb 26 14:23:15 CET 2012


On Sun, Feb 26, 2012 at 15:19, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> On 26 Feb 2012, at 14:16, ik wrote:
>
>> I'ved replaced it to
>>
>> iphdr    = bitpacked record
>
> This is wrong. The record is a C record, and hence follows {$packrecord c} rules. "bitpacked record" overrides any current {$packrecords x} setting. That is the reason why I used the nested bitpacked record.
>
>> And now all of the problems that I continue to find gone away.
>
> You may get lucky, but it's still wrong.

I understand, so I'll change it, to your way

>
>
> Jonas_______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list