Mail Archives: djgpp/2002/04/05/10:15:05
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 -