delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/10/15:51:29

From: "Paulo J. Matos aka PDestroy" <pdestroy AT netcabo DOT pt>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: sstream standart header
Date: Sun, 10 Dec 2000 20:35:08 -0000
Lines: 48
Message-ID: <910pf4$cca$1@venus.telepac.pt>
References: <90vqjd$ll8$1 AT venus DOT telepac DOT pt> <Pine DOT SUN DOT 3 DOT 91 DOT 1001210170535 DOT 3634B-100000 AT is> <l4873tochdtcu5kjkrlqqoevlhg7fkdjgt AT 4ax DOT com> <3a33b539 DOT 27491337 AT news DOT freeserve DOT net>
NNTP-Posting-Host: 212.113.181.165
X-Trace: venus.telepac.pt 976480548 12682 212.113.181.165 (10 Dec 2000 20:35:48 GMT)
X-Complaints-To: abuse AT mail DOT telepac DOT pt
NNTP-Posting-Date: 10 Dec 2000 20:35:48 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

And does it work perfectly in g++ of UNIX Solaris?

Why are there warning in line 171 of that file?

Best regards,


--
Paulo J. Matos aka PDestroy
http://www.pdestroy.net
ICQ UIN - 361853

--
A smile is just a smile, but when you are in love with someone, a smile can
be a thousand words.
           - Anonymous
"Steamer" <dontmailme AT iname DOT com> wrote in message
news:3a33b539 DOT 27491337 AT news DOT freeserve DOT net...
> Jason Green wrote:
>
> > Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> >
> > > On Sun, 10 Dec 2000, Paulo J. Matos aka PDestroy wrote:
> > >
> > > > gpp -g -Wall   -c -o banco.o banco.cpp
> > > > In file included from banco.cpp:6:
> > > > ordenado.h:7: sstream: No such file or directory (ENOENT)
> > > > make.exe: *** [banco.o] Error 1
> > >
> > > There's no sstream header in the C++ library distributed with GCC
> > > 2.95.2.  Are you sure you didn't mean strstream?
> >
> > I think <sstring> replaces <strstream> in the final C++ standard.
>
> (I assume <sstring> is a typo for <sstream>.)  Both <sstream> and
> <strstream> are in the C++ standard, but <strstream> is deprecated.
>
> > It might be possible to use <strstream> with some tweaking to the
> > program's code.  For example, use strstream class instead of
> > stringstream.  Not tried it myself, just an idea...
>
> There's no need, since there's an <sstream> implementation at
>
>    http://sources.redhat.com/ml/libstdc++/2000-q2/msg00700/sstream
>
> and it works perfectly with DJGPP.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019