This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++ errors
- From: Phil Edwards <phil at jaj dot com>
- To: "Nathan ." <snmptoddler at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 2 Oct 2002 22:01:26 -0400
- Subject: Re: g++ errors
- References: <F39YTjr8cU6xfPTeip6000001f5@hotmail.com>
On Wed, Oct 02, 2002 at 09:43:10PM +0000, Nathan . wrote:
> Hello all,
>
> I'm getting the following errors while compiling a file "msg.cc"
> The files istrstream.h and streambuf.h are standard files.
No they aren't; see a good C++ textbook. GCC 2.x has been unmaintained
for a while now. Consider upgrading to 3.2.
> IpAddr::IpAddr(char *ipString)
> {
> #ifndef GNU
> 802: istrstream is = ipString;
It's not valid code. You can't do that with strstreams.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002