August 24, 2010

geneing geneing
Lab Rat
1 posts

Mingw build using dwarf2 exceptions?!!!

 

I installed Qt 4.6.3 libraries (mingw build) from Qt web site.

As I understand they are compiled to use dwarf 2 exceptions instead of sjlj exceptions. However, dwarf 2 exceptions are not portable under windows. Will the exception mechanism be changed in the future releases?

1 reply

August 24, 2010

Franzk Franzk
Lab Rat
830 posts

Qt has no direct influence on that. The choice of throwing dwarf exceptions is made at MinGW:

From their release notes [sourceforge.net]


4. NEW FEATURES SINCE MINGW GCC 3.4

Windows-specific:—

[…]

- Zero cost exceptions: New exception model Dwarf only has performance penalty when being thrown. The old model, SJLJ, is no longer available.

 Signature 

“Horse sense is the thing a horse has which keeps it from betting on people.”—W.C. Fields

http://www.catb.org/~esr/faqs/smart-questions.html

 
  ‹‹ QDir::isWritable()?      Can I import a COM .dll object in Qt? ››

You must log in to post a reply. Not a member yet? Register here!