I’m trying to make the following code work compiling with clang*, any help?
typedef struct A {
int value;
} A;
typedef struct B {
A;
} B;
int main (void) {
offsetof(B,A);
return 0;
}
*I’ve no problem using gcc using the plan9-exentions
1
Clang does not support the Plan9 C extensions at all.