This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0 and string class
- To: Jim Peterson <jspeter at roanoke dot infi dot net>
- Subject: Re: egcs-1.0 and string class
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 04 Dec 1997 17:38:02 -0700
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199712041655.LAA25144@twinkle.bevc.blacksburg.va.us>you write:
> cat - > t.cc << EOF
> #include <string>
> #include <iostream>
> int main()
> {
> string msg="Hello, world!";
> cout << msg << endl;
> return 0;
> }
> EOF
> g++ -v -o t t.cc
Hmm, where is <iostream> being satisfied from? That's not part of the egcs
distribution to the best of my knowledge.
If you get the wrong iostream headers, there's a good chance that your code
will not work.
jeff