delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/14/05:30:07

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: deprecated headers
Date: 14 Aug 2002 09:18:43 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 17
Message-ID: <ajd79j$97d$1@nets3.rz.RWTH-Aachen.DE>
References: <pPo69.1345$JB DOT 135929 AT juliett DOT dax DOT net>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1029316723 9453 137.226.32.75 (14 Aug 2002 09:18:43 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 14 Aug 2002 09:18:43 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Daniel L <dlokshta AT c2i DOT net> wrote:
> I've been using DJGPP for some time when it suddently began crashing, so I
> reinstalled the whole thing, but now it tells me that my iostream.h is
> deprecated or antiquated and refuses to compile, whatever I do .

1) It's not "your" iostream.h --- you neither own it, nor did you make it.
2) It's not the file iostream.h that's deprecated, but the fact that your
   C++ source is trying to use it --- <iostream.h> has been discontinued 
   by the ANSI/ISO C++ Standard.  You're supposed to use <iostream> and
   explicitly state the namespace you're in.  I.e. your code is deprecated,
   not iostream.h as such.



-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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