This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bug in egcs with C++?
> Sorry - wrong. I -do- understand. My C++ experience may be 5+ years out
> of date but the code I've been writing is not unusual except perhaps in
> the number of virtual objects. I -do- have many objects with
> unimplemented (=0) functions but they are never referred to in such a
> way to cause this.
Maybe this is the cause of the problem. An unimplemented function does
NOT look like that:
class Foo{
virtual void bar()=0;
};
This is called a pure virtual function, instead. What we mean by
unimplemented functions are those:
class Bar{
virtual void foo();
};
with no definition of Bar::foo in any source file.
Hope this helps,
Martin