www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/04/16:45:35

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: do the newer djgpp's have io problems?
Date: Thu, 04 Apr 2002 22:31:07 +0100
Lines: 26
Message-ID: <3CACC61B.51757FE7@phekda.freeserve.co.uk>
References: <978b35e2 DOT 0204040547 DOT 707519cf AT posting DOT google DOT com>
NNTP-Posting-Host: modem-191.titanium.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news7.svr.pol.co.uk 1017956076 127 62.136.21.191 (4 Apr 2002 21:34:36 GMT)
NNTP-Posting-Date: 4 Apr 2002 21:34:36 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Geoff Robinson wrote:
> I'm trying to compile a project into some archived files on NT.  I'm
> using a newer version 3 of the djgpp compiler.  Everything is
> compiling well, except for one section of code.  It relies a lot on
> ios classes and related functions.  Most of these functions are coming
> from iomanip.h.
> 
> Is anyone aware of these types of issues with the later versions of
> djgpp?

Presumably you are talking about gcc 3.x, since the latest version of DJGPP is
2.03. I imagine that you've been hit by g++ 3.x complying better with the ISO
C++ standard than g++ 2.95.x and earlier did. Now the standard C++ library is
in the 'std' namespace, so you should either:

a) qualify your uses of stuff from the C++ standard library with std::, e.g.:
std::vector; or

b) put 'using namespace std;' at the start of your program.

HTH, bye,
 
-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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