Hello
There should be something in your application.
I have created a project with CodeWarrior HC12 V3.0 and added following code there.
typedef struct{
int x;
int y;
}DATA;
typedef struct{
int j;
int k;
DATA d;
}STRUCT;
STRUCT myStruct;
void main(void) {
/* put your own code here */
EnableInterrupts;
myStruct.j= 9;
for(;
{} /* wait forever */
}
I can build that without any problem.
You may have a syntax error right before the type definition for DATA. Anyway I would need to look at the preprocessor output of the file generating the message.
Can you generate that preprocessor listing (just add option -lp to your compiler command line. The compiler will generate a file with extension .pre. That is the file I need).
CrasyCat