> maybe it is more easy to ask gcc to do this ? you can force a certain > alignment > see: http://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html#Type-Attributes
Each structure already has correct alignment, but we manually allocate them after other structures or arrays (of pointers, ints or chars). It's not obvious for me if a solution using just alignment attributes would be simpler and not affect compatibility with programs using the class info structures.
pgpPeIe78VbED.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
