KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC 3.0.3: Bugs to Fix]) (fwd)

shaheed srhaque@iee.org
Tue Dec 4 13:29:00 GMT 2001


Hi

> > If you want dynamic cast (and that's just one thing) to work with dlope
> > in gcc3+, you need to use RTLD_GLOBAL. (Don't get confused by Nathan no
> > understanding what if and only if means)

> That's pretty bad because loading (dlopen'ing) parts with RTLD_GLOBAL i
> asking for trouble. There is no way that we can guarantee that one par
> 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 wit
> OpenGL (both define "DisplayList") and things like this aren't helping th
> situation

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

Note that there is at least one use of RTTI in the MS Word import filter for 
KWord. It *could* be eliminated in favour of an alternative hack if required, 
but RTTI is needed at present at least

Thanks, Shahee



More information about the Gcc mailing list