Does any one know how to create an unnamed variable for place holder in a struct? I know you can do it in bitfiled. Example:
struct S { int a; int b; int[5]; //reserved 5 ints but dont' need to name it. int c; int d; int bit0 : 1; int : 6; int bit7 : 1; } </pre?
As far as I know, the C standard does not define anonymous non-bitfield struct members. Since Keil's C compilers claim to be ANSI C compliant, you can't expect them to have this feature. It seems that you'll have to do with named struct members. - mike