I´m a newbie in programming with CodeWarrior and I´m porting software from my old compiler to the CodeWarrior and I faced a very confusing problem:
I had defined the structure:
typedef struct
{
BYTE menu_nr_left;
BYTE menu_nr_right;
BYTE menu_nr_up;
.....
enum
{
NUMBER=0,
TEXT_1=1,
TEXT_2=2
}para_view:2;
unsigned int txt_idx;
.....
}view_tab_t;
During compiling of the sources I get the error message that NUMBER, TEXT_1 and TEXT_2 are not declared. All declarations in this header are working fine except all enum´s. Please can anybody tell me, what I´ve done wrong?
Thanks in advance!
Thomas