Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-23028

build problem when exceptions disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 5.0.0
    • Core: Other
    • None
    • windows xp sp3, mingw, g++ 4.6.1
    • d62228a77e3f4990623636519836874a66baffbb

    Description

      trying building Qt 5.0.0 with exceptions disabled gives this error in directory "qtbase/tests/auto/corelib/kernel/qeventloop":

      tst_qeventloop.cpp: In member function 'void tst_QEventLoop::throwInExec()':
      tst_qeventloop.cpp:348:13: error: 'ExceptionThrower' was not declared in this sc
      ope
      tst_qeventloop.cpp:348:30: error: expected ';' before 'exceptionThrower'
      tst_qeventloop.cpp:349:47: error: 'exceptionThrower' was not declared in this sc
      ope
      tst_qeventloop.cpp:351:18: error: exception handling disabled, use -fexceptions
      to enable
      tst_qeventloop.cpp:355:13: error: 'ExceptionThrower' was not declared in this sc
      ope
      tst_qeventloop.cpp:355:30: error: expected ';' before 'exceptionThrower'
      tst_qeventloop.cpp:356:47: error: 'exceptionThrower' was not declared in this sc
      ope

      Seems lines 344..360 contain code using exception handling not conditioned by QT_NO_EXCEPTIONS nor other flags.

      my configure options are:
      -debug -no-exceptions -qt-sql-odbc -no-qt3support -no-gif -no-libmng -no-libtiff -no-dsp -no-vcproj -no-incredibuild-xge -no-style-motif -no-style-cde -no-phonon -no-dbus -no-cetest -qt-zlib -qt-libpng -qt-libjpeg -no-phonon-backend

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shkearns Shane Kearns
            thepyper davide pippa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes