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

List:       kde-devel
Subject:    Re: optimizing
From:       Lubos Lunak <l.lunak () sh ! cvut ! cz>
Date:       2001-05-02 19:56:33
[Download RAW message or body]

Dne st 2. květen 2001 18:31 Jonathan Belson napsal(a):
> Hiya
>
> > On Wed, May 02, 2001 at 11:52:39AM +0200, ric Brunet wrote:
> > > That's good news. And what about qt ? Is it safe to build qt with
> > > -fno-exceptions, or do the part in KDE that need exception relies on
> > > exceptions being present in qt ?
> >
> > No, Qt doesn't need them, just add -no-g++-exceptions to Qt's ./configure
>
> What would happen if 'new' threw a bad_alloc?  Would a Qt application
> be able to catch it or would the application just crash?

 Well, since Qt doesn't use exceptions at all, it will most probably crash 
either way. Not to mention things like memory overcommiting which make these 
things more complicated.

 
 Lubos Lunak
--
 l.lunak@email.cz ; l.lunak@kde.org
 http://dforce.sh.cvut.cz/~seli

>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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