This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bug in egcs with C++?
- To: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Subject: Re: bug in egcs with C++?
- From: teunis <teunis at computersupportcentre dot com>
- Date: Thu, 10 Dec 1998 22:08:19 -0700 (MST)
- cc: egcs at cygnus dot com
On 11 Dec 1998, Alexandre Oliva wrote:
> 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.
Guaranteed 100% this is -not- happening.
I've checked and rechecked.
It was fixed by rearranging the constructor locations. Why shouldn't this
work?
G'day, eh? :)
- Teunis
PS: sorry 'bout all this... I'll try to figure out a code snippet once I
have some time...