[Bug c++/31735] Problem using STL

2007-04-28 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-04-28 19:16 --- *** Bug 31737 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31735

[Bug c++/31735] Problem using STL

2007-04-28 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-04-28 19:16 --- *** Bug 31736 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31735

[Bug c++/31735] Problem using STL

2007-04-28 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-04-28 19:15 --- This code is illegal, compile it with -D_GLIBCXX_DEBUG and the run it and you will see. In a nutshell: int n, nn; string vector[54], word; cin >> nn; for (int i=0; i> word;