[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

g++ 4 and segfaults with STL



Hi

today I did an apt-get upgrade and found that g++ now points to g++-4

$ g++ --version
g++ (GCC) 4.0.1 (Debian 4.0.1-2)

I compiled my programs with this new version (they make use of stl) and found that these programs segfaults (e.g., when iterating over a list).

should I upgrade also the libraries (I thought that this should have been done automatically during the upgrade)

or is it a bug?

thanks in advance
	Lorenzo

--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.lorenzobettini.it/purple    Cover Band  |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+



Reply to: