> struct-layout-1_generate.c is run on the host, not on the target.
> And for hosts AFAIK GCC requires 32-bit int.

But the structures it generates assume 32-bit ints:

        T(0,enum E2 a:31;,B(0,a,e2_m1,e2_0))

You can't have a 31 bit enum on a 16 bit target.  You get messages
like this:

        dj.c:3: error: width of 'a' exceeds its type

Reply via email to