This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16008] method overloading hides inherited methods
- From: "dan at photon dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2004 18:03:05 -0000
- Subject: [Bug c++/16008] method overloading hides inherited methods
- References: <20040615175352.16008.dan@photon.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dan at photon dot com 2004-06-15 18:03 -------
Note that scoping the function will relieve the compiler error
(child::foo.bar()). However, this should not be necessary as the multiple
inheritence is not an issue since the mangling of the method names removes
confusion. Maybe the methods are compared for multiple inheritence conflict
prior to being mangled?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16008