[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc
Subject: Re: KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC
From: Mark Mitchell <mark () codesourcery ! com>
Date: 2001-12-10 17:40:11
[Download RAW message or body]
> 3) Persuade gcc folks to add compiler switch that makes gcc use string
> comparing when doing rtti, and simply compile whole KDE with this switch
> turned on.
All code in the application -- including the C++ run-time library --
needs to be compiled the same way, so you would have to rebuild
everything to do this.
In general, I will argue against any such change.
Mixing C++ and dlopen w/o RTLD_GLOBAL is fundamentally wrong.
The right model is that this is like using an uninitialized
variable. It might work somtimes, but it is a completely horrible
thing to do, totally unportable, and will succeed or fail based on
minor changes elsewhere in the code.
It would be a disservice for us to add features that try to accomodate
this; they cannot be made to work reliably and so all they would do
is create a temptation for people to write code that will not work.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic