[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC 3.0.3: Bugs to Fix]) (fwd)
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-12-04 21:28:38
[Download RAW message or body]

On Tuesday 04 December 2001 04:40 am, Bernhard Rosenkraenzer wrote:
> FYI
>
> ---------- Forwarded message ----------
> Date: Mon, 3 Dec 2001 17:17:55 +0100
> From: Jakub Jelinek <jakub@redhat.com>
> To: <some-internal-list@redhat.com>
> Subject: KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC
> 3.0.3: Bugs to Fix])
>
> Hi!
>
> If you want dynamic cast (and that's just one thing) to work with dlopen in
> gcc3+, you need to use RTLD_GLOBAL. (Don't get confused by Nathan not
> understanding what if and only if means).

That's pretty bad because loading (dlopen'ing) parts with RTLD_GLOBAL is 
asking for trouble. There is no way that we can guarantee that one part 
doesn't by chance use the same name for some class/symbols as another part, 
since parts may get developed independently of each other.

We are already running into trouble with the flash plugin colliding with 
OpenGL (both define "DisplayList") and things like this aren't helping the 
situation.

The alternative, banning RTTI from KDE, isn't very attractive either.

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic