http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51841
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-13 01:40:00 UTC --- void actv(vector<T>::iterator in){ You are missing the typename keyword.