I'm trying to compile my legacy code (Kaduria) with new Code::Blocks that has newest (I guess) gcc included. This gives an error:
for (list<T>::iterator pos=v.begin(); pos!=v.end(); pos++)
Error: expected ; before pos.
What the hell?
Edit: solved, needed to add typename in front of list.