delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/10/12:06:31

From: dontmailme AT iname DOT com (Steamer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: sstream standart header
Date: Sun, 10 Dec 2000 16:54:39 GMT
Organization: always disorganized
Lines: 28
Message-ID: <3a33b539.27491337@news.freeserve.net>
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>
NNTP-Posting-Host: modem-32.bicolor-pseudochromis.dialup.pol.co.uk
X-Trace: news5.svr.pol.co.uk 976467281 8047 62.136.231.32 (10 Dec 2000 16:54:41 GMT)
NNTP-Posting-Date: 10 Dec 2000 16:54:41 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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