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

Verify that Qt compiles with C++20

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.0, 6.1, 6.2
    • None
    • d7795c98e (dev), fe3876517 (6.5)

    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

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              fabiankosmale Fabian Kosmale
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: