Article View: gnu.gcc.help
Article #52844Interviews & gcc2.1
From: Scott Miller
Date: Thu, 14 May 1992 16:21
Date: Thu, 14 May 1992 16:21
33 lines
1908 bytes
1908 bytes
Greetings,
I am trying to compile Interviews3.01 using gcc2.1.
I am getting an error with this line.
istream in(strlen(definition) + 1,definition);
Apparently the two constructors for istream in the
gcc2.1 include file iostream.h
istream();
istream(streambuf* sb, ostream*tied=NULL);
do not support those arguments. I looked in
the AT&T C++ compiler(We dont have it!) and I noticed
the include files contained this comment
public: /*** Obsolete constructors, carried over from stream package ***/
istream(streambuf*, int sk, ostream* t=0) ;
/* obsolete, set sk and tie
* via format state variables */
istream(int size ,char*,int sk=1) ;
/* obsolete, use strstream */
istream(int fd,int sk=1, ostream* t=0) ;
/* obsolete use fstream */
So Interviews is calling a obsolete constructor(in AT&T C++).
Is there another constructor in gcc that I can use in place
of istream(int size, char*, sk=1)?
Regards,
Scott Miller
Technical Details
Message-ID:
<1992May14.162115.29989@eng.ufl.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!eng.ufl.edu!pawnee.ugrad.ee.ufl.edu!scotShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,86a68b9d6b100f5e,start X-Google-Attributes: gid11318c,public X-Google-Thread: 101a2b,86a68b9d6b100f5e,start X-Google-Attributes: gid101a2b,public X-Google-ArrivalTime: 1992-05-14 06:42:28 PST Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!eng.ufl.edu!pawnee.ugrad.ee.ufl.edu!scot From: scot@pawnee.ugrad.ee.ufl.edu (Scott Miller) Newsgroups: gnu.gcc.help,comp.windows.interviews Subject: Interviews & gcc2.1 Message-ID: <1992May14.162115.29989@eng.ufl.edu> Date: 14 May 92 16:21:15 GMT Sender: news@eng.ufl.edu (Usenet Diskhog System) Organization: UF EE Department Lines: 33