--- Comment #3 from lbana at hotmail dot com 2007-05-05 05:01 ---
Subject: RE: bug in g++ a.out for stl::map
Dear Gnu,
Sorry for logging invalid bug, I should have spend some time in reading it.
I thought all I need to do is pass stack variable. Anyhow thanks for the
advice.
-Laxman
>
--- Comment #2 from pcarlini at suse dot de 2007-05-05 00:11 ---
You are only passing around a pointer to name and not allocating memory for the
various "C" strings, instead overwriting each time in the loop the same char
array. Well, there are also other problems in the code, like not p
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-04 23:05 ---
I don't think this is a bug as you changing the key from underneath of
std::map.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added