Is this right, or a bug?
Alexandre Oliva
aoliva@redhat.com
Mon Mar 1 07:11:00 GMT 2004
On Feb 28, 2004, Nick Glencross <nickg@glencros.demon.co.uk> wrote:
> 'main' through 'class2'. There's a compiler error saying that 'method
> (int)' doesn't exist, only 'method ()'.
That's correct. The declaration in class2 hides all declarations in
the base class, even those that aren't explicitly overridden.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year! oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Gcc-bugs
mailing list