This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC structure compilation error


Hi Aniket,

Errors like that may mean that you have a typo in your structure.

For instance:

typedef struct Foo
{
	int a;
} FOO;

typedef struct Bar
{
	int b;
	FOOO c; // <-- typo
} BAR;

Check your header file for spelling errors. For instance, "CALENDER" for "CALENDAR".

HTH,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]