I\'ve been working on the Cell processor and I\'m trying to create a struct that will hold an spe_context_ptr_t
, which will be used within the thread to launch
I had the same error message but the solution is different.
The compiler parses the file from top to bottom.
Make sure a struct is defined BEFORE using it into another:
typedef struct
{
char name[50];
wheel_t wheels[4]; //wrong, wheel_t is not defined yet
} car_t;
typedef struct
{
int weight;
} wheel_t;