[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about Qt exception handling



Kevin Krammer a écrit :
> On Thursday 01 December 2005 17:23, Pierre Barbier de Reuille wrote:
> 
> 
>>Well, I don't understand why ! The default options are *with* exception
>>support !!!! Then, I already tried to compile debian packages with
>>exception support and it just works very fine ! I don't see any reason
>>to *explicitly* remove the exception handling.
> 
> 
> It has been deactivated traditionally because earliert GCC (I think < 4.0) 
> introduced runtime overhead even when no exception was raised.
> 
> If this has improved it might be interesting to see how other Qt dependent 
> code reacts to the change, notably KDE
> 
> I would guess that any code assuming no exception policy might crash in 
> situation it would have otherwise handled gracefully.
> 
> Cheers,
> Kevin

Ok, I may test the behavior of KDE with that (even though when I
compiled Qt with exception support I did not notice anything but my
program working properly ;) ). I'll keep the list informed.

Cheers,

Pierre

-- 
Pierre Barbier de Reuille

INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP
Botanique et Bio-informatique de l'Architecture des Plantes
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France

tel   : (33) 4 67 61 65 77    fax   : (33) 4 67 61 56 68



Reply to: