> HA ???
>
> "int i __attribute__ ((aligned (1)));", to je mi neznama konstrukce.
Rekl bych, ze v tomto pripade je lepsi pouzit atribut 'packed'.
Takto:
struct A{
char c;
int i;
} __atribute__ ((packed));
Zajisti, ze cela struktura nebude zarovnavana.
Michal Kral