[Info-vax] nice for VMS

Michael Kraemer M.Kraemer at gsi.de
Mon Apr 13 03:24:18 EDT 2009


Arne Vajhøj schrieb:

> 
> It happens - struct(ure)s that are written or read to or
> from file/socket and have to be packed.
> 
> Obviously not very funny when the code later has to be ported
> to Solaris/SPARC.
> 

In this case it might be better to align the structure members
manually on 4/8 byte boundaries by inserting appropriate
padding members. Wastes space, but reduces headaches.




More information about the Info-vax mailing list