Enums and structs are not on-par with the C-standard for how to define / use types. Example:
struct myStruct {};
struct myStruct2 {
myStruct m_a;
}
Is incorrect. The two solutions are: The struct "myStruct" must be typedef'ed to myStruct, or the m_a variable must be typed as struct myStruct. The same goes for enums.
Enums and structs are not on-par with the C-standard for how to define / use types. Example:
struct myStruct {};
struct myStruct2 { myStruct m_a; }
Is incorrect. The two solutions are: The struct "myStruct" must be typedef'ed to myStruct, or the m_a variable must be typed as struct myStruct. The same goes for enums.