Jonas Maebe wrote:

> This is not usable for accessing particular bits of microcontroller
> registers, because the internal format of a bitpacked record is
> undefined and can change at any time for any reason.


Is this likely to happen ? AFAIK, in C the "struct ...:n" layout also is
implementation depending and the memory layout in fact is not identical
between high-endian and low-endian processors.

This _does_ offer problems when transferring such structures via Network
or files.

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

Reply via email to