[Bug c++/17457] private type in base class causes conflict when overriding equally named method in derived classes
bonefish at cs dot tu-berlin dot de
gcc-bugzilla@gcc.gnu.org
Mon Sep 13 12:35:00 GMT 2004
------- Additional Comments From bonefish at cs dot tu-berlin dot de 2004-09-13 12:34 -------
Created an attachment (id=7121)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7121&action=view)
Source file to reproduce the bug
gcc -o test.o test.cpp
produces:
test.cpp:14: error: declaration of `virtual int Directory::Link(int)'
test.cpp:9: error: conflicts with previous declaration `virtual int
Node::Link(int)'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17457
More information about the Gcc-bugs
mailing list