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

List:       kde-devel
Subject:    Re: C++ exceptions
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2005-12-07 18:32:50
Message-ID: 200512071932.51552.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 07 December 2005 19:05, Volker Lukas wrote:
> Thiago Macieira wrote:
> > [...]
> > So you can expect people to compile it with -fno-exceptions. If you write
> > applications that rely on exceptions being enabled in Qt, you'll be
> > shooting yourself in the foot. Don't do that.
>
> No. The user who disables it is a fault here. Exception support is needed
> for *correct* programs to be executed *correctly*. If the user willfully
> asks the compiler to produce incorrect output, he has to live with the
> outcome. He can not just assume that nobody uses exceptions in conjunction
> with Qt.

If the application developer wants to deploy on Linux systems _and_ use the 
systems Qt3 installation, he can safely assume it was built without 
exceptions because of the problems earlier GCC versions had with them and so 
most (all+) software assumes -fno-exceptions

Might change for Qt4 though.

Cheers,
Kevin
-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.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