In article <1189265416.789789.187580@g4g2000hsf.googlegroups.com>,
drop669@gmail.com says...
Hi.
I have this piece of code:
[ code elided ]
=====================================
While compiling this in MinGW, it says:
=====================================
dict:91: error: expected `;' before "it"
=====================================
(line 91 is the line where "for (...)" is located).
I don't see anything wrong, at least in the code you posted. It's
_possible_ there's a problem in the code you elided, and it's just not
being diagnosed until you reach this point. Quite frankly, that looks
pretty unlikely -- it takes a fairly strange error for the diagnostic to
be delayed into the next function (though mis-matched braces can lead to
it getting confused about where one function ends and the next starts).
Otherwise, it looks to me like a compiler error.
As Alf said, OP needs a "typename" ...