Weird Compiler Error: syntax error : missing ';' before ''template<''

Voyhkah

Undead
Joined
Apr 25, 2009
Messages
1,444
Location
Earth
I'm getting this error:

Code:
1>c:\Users\Josh\Documents\Programming\Projects\World of Pokiphlanon\CvGameCoreDLL\LinkedList.h(11): error C2143: syntax error : missing ';' before ''template<''

I've checked it, and it isn't missing anything. I've never touched that file. Anyone have any guesses on what's wrong?
 
You've probably changed another file which is included before LinkedList.h (CvStructs.h?), and something there is missing.
If you look at the output a little before that error, it might help you see in which cpp file it is included.
 
Sounds like a class declaration missing a semicolon at the end.
 
Code:
	Sounds like a class declaration missing a semicolon at the end.

You were right.
 
Back
Top Bottom