AnsweredAssumed Answered

Data Structure problem in Code warrior

Question asked by Michael Braithwaite on Aug 21, 2006
Latest reply on Aug 23, 2006 by CrasyCat
Does anyone know if Code Warrior has a problem of declaring data structure within a data structure, In specific i am doing the following and the code warrios is giving me compile error. Anyone has any idea on how to get around the problem:
 
struct{
int x;
int y;
}DATA;
 
typedef struct{
int j;
int k;
DATA d;
}STRUCT;
 
the error i get is "typedef name expected"

Outcomes