This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: iostream question
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Robert Schweikert <rjschwei at cox dot net>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: 15 Oct 2002 11:52:55 +0200
- Subject: Re: iostream question
- Organization: Integrable Solutions
- References: <3DABDBD1.80708@cox.net>
Robert Schweikert <rjschwei@cox.net> writes:
| I am trying to compile a large application with gcc 3.2, (porting from
| gcc 2.95.2) and am getting errors like this.
|
| /home/rjschwei/local/include/c++/3.2/backward/iostream.h:35: using
| declaration
| `ostream' introduced ambiguous type `ostream'
Did your application already declared ostream before #include <iostream.h>?
(I suspect that is the case). If so, then, you no option but delete
that forward-declaration.
-- Gaby