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

Re: bug in egcs with C++?


On Dec 11, 1998, teunis <teunis@computersupportcentre.com> wrote:

> (I've also discovered that polymorphic objects aren't happy with
> multiple base objects with the same root object...

You mean, like:

class A { public: virtual ~A() {} };
class B : public A {};
class C : public A {};
class D : public B, public C {};

?  What's the problem?

> Though all of the cases contain -only- virtual functions + a constructor.
> To repeat myself before I get sent another "you've failed to implement
> this function" message I wish to say *again* that all functions were
> implemented.

You still didn't post any code that would show this behavior, so
there's no way we can either fix the bug (in egcs or in your code :-)
or tell you how to work around it.

> I shall try to duplicate in a smaller codebase.

Please do

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


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