[openbeos] Re: ScreenSaver incompatability

  • From: Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 05 Apr 2004 11:24:14 -0400

Yeah, that would work, given that no one ever calls those.
I find it to be ugly and hackish, though. It is specific to this version of 
the compiler (right? didn't they change the name mangling for 3.0?). I am 
loathe to nasty up the code for this, but I suppose I can...

Trying it, though, leads me to another nasty problem. There is another 
missing symbol. Specifically 
         U BHandler::_ReservedHandler1(void)
I assume this is a virtual that Be had the need to change. It all depends on 
when the ScreenSaver was compiled. Again, I could add this symbol. But that 
starts to really bother me. Does anyone out there run some screensaver other 
than the default ones that absolutely needs it? 



On 2004-04-05 at 03:24:59 [-0400], Axel Dörfler wrote:
> Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx> wrote:
> Or three, have one file which exports the legacy R5 symbols in 
screen_blanker 
> and the Screen preferences panel:
> 
> export "C" void ReservedScreenSaver1__12BScreenSaver(); void
> ReservedScreenSaver1__12BScreenSaver()
> {
> }
> 
> ...
> 
> And you're done. You just have to trick the linker, not the compiler.
> 
> Bye,
>    Axel.

Other related posts: