[Interest] to -fno-exceptions or not ...

Thiago Macieira thiago.macieira at intel.com
Fri Dec 12 19:58:28 CET 2014


On Friday 12 December 2014 18:49:44 René J.V. Bertin wrote:
> On Friday December 12 2014 09:14:52 Thiago Macieira wrote:
> >Right. QtConcurrent doesn't need it, but it does offer support for catching
> >an exception in a thread and rethrowing it in the future's thread. In Qt
> >4, it is in QtCore.
> 
> And I guess that makes it neigh impossible to build QtConcurrent with
> exceptions support but not the rest of QtCore? Barring a post-qmake patch
> of the QtCore Makefile to add -fexceptions -UQT_NO_EXCEPTIONS?

Correct. You need to enable exceptions for QtCore too.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list