
May 30th, 2003, 09:04 AM
|
|
Junior Member
|
|
Join Date: May 2003
Location: Iowa
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Multiple Inheritance Naming Issues with gcc2.9x
I have some C++ code that has a structure something like this:
class Base1{}
class Base2{}
class Intermediate : Base1{}
class Intermediate : Base2{}
class Top : Base1::Intermediate, Base2::Intermediate{}
I have heard that gcc has issues with this multiple inheritance, because it does not handle the namespace/scope resolution correctly and sees both "Intermediate" classes as the same class, which of course they're not.
Is this something that has been resolved in newer versions of gcc? Anyone know of any references to a problem like this (I looked, but couldn't find much in my brief search)?
Thanks for your help.
|