[Interest] to -fno-exceptions or not ...
Thiago Macieira
thiago.macieira at intel.com
Wed Dec 17 18:59:09 CET 2014
On Wednesday 17 December 2014 11:55:21 René J.V. Bertin wrote:
> >QIcon() isn't inline and neither is it marked as noexcept. Therefore, the
> >compiler must add surrounding EH code so that any locals you have in the
> >context where that QIcon was created can be destructed.
>
> And QIcon() is part of QtGui which *is* now built with no-exceptions ...
But when your code is compiled, the compiler doesn't know that. The question
is whether the caller is built with -fno-exceptions or not.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list