Код: Выделить всё
struct A {
char a;
int b;
} __attribute__((packed));
struct B {
char a;
int b;
int c __attribute__((aligned(64)));
} __attribute__((packed));
Моя цель-держать структуру плотно упакованной, но с началом C-intry
Подробнее здесь: https://stackoverflow.com/questions/797 ... ember-in-c
Мобильная версия