Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 19:10:21 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        David Gilbert <dgilbert@dclg.ca>
Cc:        freebsd-current@freebsd.org
Subject:   Re: GCC include files conundrum.
Message-ID:  <20040314190825.V56652@odysseus.silby.com>
In-Reply-To: <16468.65270.123954.862565@canoe.dclg.ca>
References:  <16468.65270.123954.862565@canoe.dclg.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 14 Mar 2004, David Gilbert wrote:

> The C++ FAQ referred to by iostream (not iostream.h) seems to imply
> that you should use iostream and sstream (no .h)... but including
> those files imposes a very different standard that this port is not
> ready to accept.  It appears that (among other things that I havn't
> found yet) all 'istream' must be written 'std::istream' ... etc.
>
> So what's the solution?
>
> Dave.

#include <blahblahblah>
using namespace STD;

or something similar should restore the behavior the application is
expecting.

(Apparently including namespace std is evil, and this is why the FAQs
aren't helpful in telling you this.)

Mike "Silby" Silbersack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040314190825.V56652>