This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: iostream question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]