[haiku-development] Re: Help needed with the unit testing framework

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 28 Jul 2014 11:43:35 +0200 (CEST)

> On July 28, 2014 at 10:04 AM pulkomandy <pulkomandy@xxxxxxxxxxxxx> wrote:
> The methods are virtual, and the signature of the override is the
> matching. They both have protected visibility, which should be fine. So
> I don't understand why the overriden methods are never called. Do you
> have an idea what the problem is? I probably missed something obvious
> but I can't see the issue...

I ran into this some years ago now, too. The code seems to be flawless, though,
and it does work without issues when you use it in GCC4.
AFAICT, the problem could have two sources:
- GCC2 is doing something wrong
- Our runtime loader does not work correctly with this setup for GCC2 binaries
only.

Bye,
   Axel.

Other related posts: