[fpc-pascal] does the following translation of a c struct to FPC	is correct ?
    Jonas Maebe 
    jonas.maebe at elis.ugent.be
       
    Sun Feb 26 14:19:45 CET 2012
    
    
  
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.
Jonas
    
    
More information about the fpc-pascal
mailing list