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

Compile error - Visula Studio 2019, version 16.6.0, c++latest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.14.2
    • Build System
    • None
    • Visual Studio 2019, version 16.6.0, compiler option c++latest
    • Windows

    Description

      Qt is not compilable in Visual Studio 2019, version 16.6.0, with option c++latest.

      The problem is in use of template std::result_of. This template has been removed from c++20, and Qt is using it. Instead of std::result_of, std::invoke_result should be used.

      Attachments

        Issue Links

          Activity

            People

              qtbuildsystem Qt Build System Team
              jakub_melka Jakub Melka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: