gcc 3.0 and <strstream>

Alexandre Oliva aoliva@redhat.com
Tue Aug 7 21:46:00 GMT 2001


On Aug  8, 2001, Peter Scott <drip@cats.ucsc.edu> wrote:

> while i notice that g++-3.0 does things that g++-2.95.3 (or
> g++-2.95.2) does not do (e.g., the "at()" function is now in
> 3.0), 3.0 seems significantly slower on my machine,

Yep, see the archives for threads about this that appear at least once
a week.

> and it does not like "old" code that uses istrstream (from
> <strstream>).

But it does accept the C++ Standard header <sstream> and the C++
Standard template-class specialization istringstream, which is why
<strstream> and istrstream are deprecated, but still available in the
backward-compatibility include directory.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list