I am using a RCM5700 Standard Kit with Dynamic 10.54 compiler. When compiling the following statement which is part of a larger Demo4 program:
line 9: typedef struct
line 10: {
line 11: unsigned Bit7:1;
line 12: unsigned Bit6:1;
line 13: unsigned Bit5:1;
line 14: unsigned Bit4:1;
line 15 unsigned Bit3:1;
line 16 unsigned Bit2:1;
line 17: unsigned Bit1:1;
line 18: unsigned Bit0:1;
line 19: }ADC_Byte;
the compiler displays the following message:
"line 11 : ERROR DEMO4.C : Missing character ‘;’.
line 11 : ERROR DEMO4.C : Need function definition or declaration.
line 11 : ERROR DEMO4.C : Syntax error - or garbage at end of program.
line 11 : ERROR DEMO4.C : Need function definition or declaration.
line 11 : ERROR DEMO4.C : Syntax error - or garbage at end of program.
line 11 : ERROR DEMO4.C : Need function definition or declaration.
line 11 : ERROR DEMO4.C : Syntax error - or garbage at end of program.
line 11 : ERROR DEMO4.C : Need function definition or declaration.
line 11 : ERROR DEMO4.C : Syntax error - or garbage at end of program.
line 11 : ERROR DEMO4.C : Need function definition or declaration.
10 errors reached; further errors suppressed. "
Any idea what is wrong with the standard C statement or compiler?