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, on the other hand, it was the case that Qt actually did not allow
throwing exceptions from inside event-handlers or slots, then the user
could employ -fno-exceptions, because in that case an exception leaving the
handler or slot would already be erroneous.



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