This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC3.0.3: Bugs to Fix]) (fwd)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Lubos Lunak <l dot lunak at sh dot cvut dot cz>, "kde-core-devel at mail dot kde dot org" <kde-core-devel at mail dot kde dot org>
- Cc: Joe Buck <jbuck at synopsys dot com>, Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 10 Dec 2001 09:40:11 -0800
- Subject: Re: KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC3.0.3: Bugs to Fix]) (fwd)
> 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