[ERROR]
A variable or a structure field has to be either one of the standard types (char, int, short, float, ...) or a type declared with a typedef directive.
struct A {
type j; // type is not known
} A;
Use a typedef-name for the object declaration.