This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bug in egcs with C++?
On Dec 10, 1998, teunis <teunis@computersupportcentre.com> wrote:
> I have not been able to duplicate this with a working codelet.
Then there's not much I can do other than telling you that I'm 90%
sure that the problem you have is caused by some class being declared
like this:
// foo.hh
class foo {
public:
virtual void in() {} // inline method
void in2() {} // another inline method
virtual void m() = 0; // abstract method
void method(); // first non-abstract non-inline method
void another_method(); // second non-abstract non-inline method
};
Then, in foo.cc, you define another_method(), but not method(). This
will cause the problem you're observing.
--
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