[LC++]<sstream>

Carlo Wood carlo at alinoe.com
Thu Dec 13 11:40:05 UTC 2001


On Wed, Dec 12, 2001 at 05:59:42PM +0100, Roberto Diaz wrote:
> g++ -c -ggdb -o bwwidget.o bwwidget.cc
> bwwidget.cc:9: sstream: No such file or directory
> 
> and really I find I can not find any file in my sistem called sstream.. (I have
> all the rest).
> 
> Whats happening? :??

g++ version 3 is the first compiler that meets the Standard.
Earlier versions of gcc don't have this standard header file.

Upgrading to gcc-3.0.3 will get you a MUCH better
compiler for C++ code.

(Note that libstdc++ is part of the GNU Compiler Collection,
 many distributions like RedHat use different
 packages however, ie gcc, cpp, gcc-c++, libstdc++ and
 libstdc++-devel; all of these should have the same
 version number though.)

-- 
Carlo Wood <carlo at alinoe.com>



More information about the tuxCPProgramming mailing list