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

Unreachable code warning with MSVC2019 with QTestCase class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.4.3
    • Testing: qtestlib
    • None
    • Windows
    • cf5da3336 (dev), 139e5b55e (6.5), 4df0132ad (6.6)

    Description

      As our application treats warnings as errors we encouter the following problem with the QTestCase.h file, there is a warning thrown on QTCreator.

      (C:\Qt\6.4.3\msvc2019_64\include\QtTest\qtestcase.h:327: warning: C4702: unreachable code)

       

      Attachments

        For Gerrit Dashboard: QTBUG-112371
        # Subject Branch Project Status CR V

        Activity

          People

            vhilshei Volker Hilsheimer
            kevanvanderstichelen Kevan Vanderstichelen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes