[Development] Enable Exceptions for Windows CE as default

Olivier Goffart olivier at woboq.com
Thu May 10 22:28:07 CEST 2012


On Thursday 10 May 2012 20:17:34 lars.knoll at nokia.com wrote:
> On 5/10/12 5:13 PM, "ext Olivier Goffart" <olivier at woboq.com> wrote:

> >There is also QtConcrrent which is not part of QtCore anymore and has
> >some
> >exception handling possibilities.
> 
> At least currently it doesn't use any try/catch statements.

Look again in qtconcurrentrunbase.h and qtconcurrentthreadengine.cpp.
The QtConcurrent::Exception are forwarded from the thread to the QFuture 
calls.

> >And I think -no-exception could stay to disable exception even in QtCore
> >if someone  still want to reduce the footprint
> 
> I'm not sure it's worth it. We probably gain more by removing one more
> configuration option that we'd otherwise need to maintain and test.
> 
> If we really want to remove that overhead the better option would probably
> be to only compile the files that need it with exceptions enabled.
> 
> Cheers,
> Lars

-- 
Olivier

Woboq - Qt services and support - http://woboq.com



More information about the Development mailing list