Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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?



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

    From their "release notes":http://sourceforge.net/project/shownotes.php?release_id=691876
    [quote]
    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.
      [/quote]

Log in to reply