This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++ errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]