delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/05/10:15:05

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: geoffr2 AT aol DOT com (Geoff Robinson)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: do the newer djgpp's have io problems?
Date: 5 Apr 2002 07:05:06 -0800
Organization: http://groups.google.com/
Lines: 29
Message-ID: <978b35e2.0204050705.245663c@posting.google.com>
References: <978b35e2 DOT 0204040547 DOT 707519cf AT posting DOT google DOT com> <3CACC61B DOT 51757FE7 AT phekda DOT freeserve DOT co DOT uk>
NNTP-Posting-Host: 192.31.106.35
X-Trace: posting.google.com 1018019107 11006 127.0.0.1 (5 Apr 2002 15:05:07 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 5 Apr 2002 15:05:07 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Thanks a bunch.  I'm dealing with legacy code, so I wash my hands of
this bug, if I may paraphrase Pilate.

Geoff

Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> wrote in message news:<3CACC61B DOT 51757FE7 AT phekda DOT freeserve DOT co DOT uk>...
> 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,

- Raw text -


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