Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4242

Verify that Qt compiles with C++2a

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0, 6.1, 6.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      The C++20 standard has been released, and compilers have already initial support for it. Moreover, our configure script allows to compile Qt with C++20. We should ensure that those configurations actually work, or at least compile.

      Else we might end up with bugreports like QTBUG-90898.

      Ideally we would compile with gcc, clang and MSVC in C++20 mode, but even using only one of those compilers in C++20 mode would already help tremendously in avoiding breakage. Running tests could be useful to catch some divergence, but is less likely to catch anything interesting.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTQAINFRA-4242
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              kkohne Kai Köhne
              Reporter:
              fabiankosmale Fabian Kosmale
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: