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?
Take a look at http://www.keil.com/forum/docs/thread2150.asp and modify it for this situation. Jon
Thanks everyone for their help. I had a lots of reserved fields for backward compatiblity with existing software. Anh
"I had a lots of reserved fields for backward compatiblity with existing software." In that case, I'd say it's particularly important that you do give them specific names that clearly indicate what's going on!