I have a C .h header file with declarations like this:
enum foo {bar, barf};
enum brain {fart, fade};
When I #import "headername.h" into a .c file, the compiler recognizes the two foo enumerations, bar and barf, but not the brain enumerations, fart and fade - use of undeclared indentifier "fart" and use of undeclared indentifier "fade"
What's wrong?
enum foo {bar, barf};
enum brain {fart, fade};
When I #import "headername.h" into a .c file, the compiler recognizes the two foo enumerations, bar and barf, but not the brain enumerations, fart and fade - use of undeclared indentifier "fart" and use of undeclared indentifier "fade"
What's wrong?