Re: Type?
Re: Type?
- Subject: Re: Type?
- From: Carlos Weber <email@hidden>
- Date: Thu, 8 Nov 2001 07:19:25 -1000
On Thursday, November 8, 2001, at 06:33 , email@hidden wrote:
One would think that the following error message would be simple to
understand, but I have not been able to get rid of a dozen or more of
the bloody things:
undefined type, found `someClass'
I ran into this before and one fix fixed all, but now I can't remember
what the hell I did.
Again, sorry for the noise; does _anyone_ know where these error
messages might be documented, so I can look there first? Thank again
all.
The compiler is telling you that, in one of the lines of your source
code, it has found a name, "someClass", which (according to the
compiler's best guess and by virtue of its relationship to surrounding
words and names which the compiler believes it can understand) should be
the name of a _type_, i.e., one of the language's built-in types (like
int or float) or a class which has been defined by you or by one of the
frameworks. It might mean you are not #importing a necessary header file?
By turning on detailed logging in your project (open the Preferences...
item in the Project Builder menu, click the Building icon at the top of
the window, and then for Build Log Detail Level:, select Detailed Build
Logs), you may be able to see more precisely just where in your source
code the compiler is barfing, and go from there.
Good luck.
References: | |
| >Type? (From: email@hidden) |