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

List:       kde-devel
Subject:    Re: Exceptions
From:       Pau Garcia i Quiles <pgquiles () elpauer ! org>
Date:       2010-03-27 1:24:46
Message-ID: 3af572ac1003261824m6a0f212di7853d9f506d5c8e9 () mail ! gmail ! com
[Download RAW message or body]

Hello,

Actually, IIRC the reason why Qt does no use exceptions is because
Nokia used to support broken/old compilers which do not support
exceptions or did not support them right. Modern compilers should do
exceptions right and maybe Nokia will change their policy towards
exceptions when they only support modern compilers (from Qt 4.7 on,
IIRC)

I'm 90% sure KDE inherited the "no exceptions" policy from Qt. OTOH,
there *is* some code which uses exceptions in KDE, look for instance
at KHTML (DOM, CSS, etc).

On Sat, Mar 27, 2010 at 1:25 AM, Tomaz Canabrava <tcanabrava@kde.org> wrote:
> the KDE rule is to not use exceptions, if I do remember correctly.
>
> http://markmail.org/message/ocajyfr5ya5dd6jj for a better explanation
>
> you really need to use std:: and exceptions?
>
>
> On Fri, Mar 26, 2010 at 9:12 PM, Lindsay Mathieson
> <lindsay.mathieson@gmail.com> wrote:
>> Quick question - there's no std Exception hierarchy in KDE4 or QT4 is there?
>> so if I want to standardise my exceptions I'll have to define my own.
>>
>> Thanks,
>>
>> --
>> Lindsay
>> http://blackpaw.jalbum.net/home
>>
>>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
 
>> 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