1.0.2 c++ inheritence pb

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Fri May 8 14:27:00 GMT 1998


On Fri, 8 May 1998, Neal Becker wrote:
> Here is a simple example that I think shows a problem with egcs-1.0.2
> c++ inheritence.

Unfortunately this example does not seem to be self-contained.

<Complex.h> -- with uppercase C -- is not a standard header as far as I
know and after converting it to lowercase I got lots of errors with a
current egcs snapshot (under sun-sparc-solaris2.5.1): 

  x.cc:5: `Complex' was not declared in this scope
  x.cc:5: `zin' was not declared in this scope
  x.cc:5: parse error before `&'
  :

Ciao,
Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the Gcc-bugs mailing list