This is the mail archive of the gcc-bugs@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]

[Bug c++/17457] private type in base class causes conflict when overriding equally named method in derived classes


------- 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


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