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

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to