problems using vector in gcc3.2

bjorn rohde jensen bjensen@fastmail.fm
Sun Oct 13 03:55:00 GMT 2002


Hi David,

  You are supposed to use a std::vector<int>::itterator
and not an int *. It looks like, itterators were implemented
as ordinary pointers in your old compiler, but not in
the new one. The code was accidentally correct with your
old compiler but not portable:)

Yours sincerely,

Bjorn



More information about the Gcc-help mailing list