Hi,
I have tried the following code with CodeWarrior for MCU ver11.x.
typedef enum WEEK
{
Monday=0,
Thirsday,
Wednesday
};
enum WEEK day;
void main(void)
{
/* Write your local variable definition here */
/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
PE_low_level_init();
/*** End of Processor Expert internal initialization. ***/
/* Write your code here */
day=Thirsday;
for(;;) {}
}
I can compile/link successfully.
Regarding your code, I think it may be related to the variable name characters. Pls try to use standard variable name.
BR
XiangJun Rong