Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

weird c++ error

Status
Not open for further replies.

oinky

Programmer
Oct 29, 2001
45
US
hi i have an error from my c++ compiler that says
"Invalid combination of type identifiers"
I have no idea what that means and can't seem to get anywhere.
It says the error is at the line of my class declaration

class My_Class <-- fails here
{
public: ...
...
...
}

im using the green hills c++ compiler. If anyone has heard of this error before please lend me some help. Thanks.
 
could you put a piece of the code including some lines before and after the class?

 
Hi there,

might it be that you omitted the ';' after the closing '}' brace of the class definition?

Just a thought...
Tobi
 
Or have something odd above it like missing an angle brace in an include statment above the class def.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top